disable picom, replace dolphin with thunar add tumbler

This commit is contained in:
Kopatz
2024-06-07 14:06:20 +02:00
parent 8adc05399c
commit a2d914dc86
4 changed files with 15 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ tiling_drag modifier titlebar
# start a terminal # start a terminal
bindsym $mod+q exec kitty bindsym $mod+q exec kitty
bindsym $mod+e exec dolphin bindsym $mod+e exec thunar
bindsym Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png bindsym Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
# kill focused window # kill focused window
bindsym $mod+c kill bindsym $mod+c kill
@@ -247,7 +247,7 @@ exec --no-startup-id "xrandr --output HDMI-0 --left-of DP-0 && xrandr --output D
exec --no-startup-id dex --autostart --environment i3 exec --no-startup-id dex --autostart --environment i3
# start picom compositor # start picom compositor
exec --no-startup-id picom --config ~/.config/picom/picom.conf #exec --no-startup-id picom --config ~/.config/picom/picom.conf
#status bar #status bar
exec --no-startup-id ~/.config/i3/scripts/launch-polybar.sh exec --no-startup-id ~/.config/i3/scripts/launch-polybar.sh

View File

@@ -69,7 +69,6 @@ in {
networkmanagerapplet networkmanagerapplet
wayland wayland
wl-clipboard wl-clipboard
xfce.tumbler # for thumbnails
#qt5.qtwayland #qt5.qtwayland
#qt6.qmake #qt6.qmake
#qt6.qtwayland #qt6.qtwayland

View File

@@ -52,11 +52,18 @@ in {
#services.xserver.wacom.enable = true; #services.xserver.wacom.enable = true;
services.tumbler.enable = true; # for thumbnails
services.gvfs = {
enable = true; # for file manager, trash support, etc.
package = pkgs.gvfs;
};
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
keepassxc keepassxc
xfce.thunar xfce.thunar # file manager
gvfs
remmina remmina
thunderbird thunderbird
localsend localsend

View File

@@ -1,8 +1,7 @@
{ lib, config, pkgs, ... }: { lib, config, pkgs, ... }:
with lib;
let cfg = config.custom.graphical.stylix; let cfg = config.custom.graphical.stylix;
in { in {
options.custom.graphical.stylix = { options.custom.graphical.stylix = with lib; {
enable = mkEnableOption "Enables stylix"; enable = mkEnableOption "Enables stylix";
image = mkOption { image = mkOption {
type = types.path; type = types.path;
@@ -32,16 +31,16 @@ in {
# https://danth.github.io/stylix/options/nixos.html # https://danth.github.io/stylix/options/nixos.html
config = config =
let nerdfonts = pkgs.nerdfonts.override { fonts = [ "Hack" "Noto" ]; }; let nerdfonts = pkgs.nerdfonts.override { fonts = [ "Hack" "Noto" ]; };
in mkIf cfg.enable { in lib.mkIf cfg.enable {
home-manager = lib.mkIf config.custom.graphical.i3.enable { home-manager = {
users.${config.mainUser.name}.stylix = { users.${config.mainUser.name}.stylix = {
targets.kde.enable = false; #targets.kde.enable = lib.mkIf config.custom.graphical.i3.enable false;
base16Scheme = config.stylix.base16Scheme // cfg.override; base16Scheme = config.stylix.base16Scheme // cfg.override;
}; };
}; };
stylix = { stylix = {
autoEnable = mkForce true; autoEnable = lib.mkForce true;
polarity = "dark"; polarity = "dark";
image = cfg.image; image = cfg.image;
override = cfg.override; override = cfg.override;