From 18902b41c33a75b6643ea9be7d712d15b3f203a1 Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Fri, 3 Mar 2023 10:38:23 +0100 Subject: [PATCH] chore: remove x --- dotfiles/i3/config | 167 ---------------------------------------- dotfiles/i3/status.toml | 107 ------------------------- roles/desktop.nix | 31 -------- 3 files changed, 305 deletions(-) delete mode 100644 dotfiles/i3/config delete mode 100644 dotfiles/i3/status.toml diff --git a/dotfiles/i3/config b/dotfiles/i3/config deleted file mode 100644 index 1620807..0000000 --- a/dotfiles/i3/config +++ /dev/null @@ -1,167 +0,0 @@ -# config -set $mod Mod1 -set $left h -set $down j -set $up k -set $right l -set $term alacritty -set $wallpaper /home/stefan/Downloads/bg.jpg -set $lock swaylock -t -i $wallpaper --scaling=fill -set $font CaskaydiaCove Nerd Font 10 -set $menucolor --ff=#f8f8f2 --nf=#f8f8f2 --tf=#bd93f9 --hf=#bd93f9 --tb=#282a36 --fb=#282a36 --nb=#282a36 --hb=#282a36 --sb=#282a36 -set $menu dmenu_run - -#input "1:1:AT_Translated_Set_2_keyboard" xkb_layout de -#input "0:0:TUXEDO_Keyboard" xkb_layout de -# -#output * bg $wallpaper fill -#output "BenQ Corporation BenQ SW2700 83H03922SL0" res --custom 2560x1440@60Hz -#output "Dell Inc. Dell U4919DW HZVZWP2" res 5120x1440 - -# user keybinds -bindsym $mod+Return exec $term -bindsym $mod+Shift+q kill -bindsym $mod+d exec $menu -floating_modifier $mod normal -bindsym $mod+Shift+c reload -bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' -bindsym $mod+o exec keepassxc -bindsym $mod+z exec $lock -bindsym $mod+Up exec light -A 5 -bindsym $mod+Down exec light -U 5 -bindsym $mod+c exec alacritty --class float -t pyCalc -e python -bindsym $mod+i exec alacritty --class float -t insect -e insect -bindsym $mod+Space exec swayr switch-to -bindsym $mod+n exec swayr switch-to-urgent-or-lru-window -bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png -#bindswitch --reload --locked lid:on output eDP-1 disable -#bindswitch --reload --locked lid:off output eDP-1 enable - -# app rules -#for_window [app_id="org.keepassxc.KeePassXC"] floating enable -#for_window [title="Firefox — Sharing Indicator"] floating enable -#for_window [title="Picture-in-Picture"] floating enable -#for_window [title="pyCalc"] floating enable -#for_window [title="insect"] floating enable - -# font -font $font - -# colors -set $black #282a36 -set $red #ff6188 -set $cyan #78dce8 -set $white #fcfcfa -set $yellow #f1fa8c -set $violet #bd93f9 -set $black2 #323232 - -# border backgnd text indicator childborder -client.focused $violet $black $white $violet $violet -client.focused_inactive $black $black $white $black2 $black -client.unfocused $black $black $white $black2 $black -client.urgent $red $red $black $black2 $white - - -# movement -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right -bindsym $mod+Shift+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 -bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+7 move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8 -bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace 10 - -bindsym $mod+b splith -bindsym $mod+v splitv -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split -bindsym $mod+f fullscreen -bindsym $mod+Shift+space floating toggle -bindsym $mod+space focus mode_toggle -bindsym $mod+a focus parent - -bindsym $mod+Shift+minus move scratchpad -bindsym $mod+minus scratchpad show - -mode "resize" { - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+r mode "resize" - -mode "umlaut" { - bindsym s exec wtype ß - bindsym a exec wtype ä - bindsym o exec wtype ö - bindsym u exec wtype ü - bindsym Shift+a exec wtype Ä - bindsym Shift+o exec wtype Ö - bindsym Shift+u exec wtype Ü - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+u mode "umlaut" - -bar { - font $font - position bottom - colors { - background $black - statusline $white - separator $violet - - # border back text - focused_workspace $violet $violet $black - active_workspace $violet $violet $black - urgent_workspace $red $red $white - inactive_workspace $black $black $white - } - status_command i3status-rs /etc/sway/status.toml -} - -set $gnome-schema org.gnome.desktop.interface -exec_always { - gsettings set $gnome-schema gtk-theme 'Dracula' - gsettings set $gnome-schema icon-theme 'Dracula' - gsettings set $gnome-schema cursor-theme 'Capitaine Cursors - White' -} - -# autostarts -exec dunst -exec emacs --daemon -#exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 -exec systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR -exec bash -c '[ "$HOSTNAME" == sphere ] && cloudstation' -#exec swayrd - -# pastebin -#exec wl-paste --primary -t text --watch clipman store -#bindsym $mod+p exec clipman pick -t "bemenu" --tool-args='-b --fn "$font" -l 10 $menucolor' diff --git a/dotfiles/i3/status.toml b/dotfiles/i3/status.toml deleted file mode 100644 index 7f94a43..0000000 --- a/dotfiles/i3/status.toml +++ /dev/null @@ -1,107 +0,0 @@ -[theme] -name = "plain" -[theme.overrides] -idle_bg = "#282a36" -idle_fg = "#f8f8f2" -info_bg = "#282a36" -info_fg = "#f8f8f2" -good_bg = "#282a36" -good_fg = "#50fa7b" -warning_bg = "#282a36" -warning_fg = "#f1fa8c" -critical_bg = "#282a36" -critical_fg = "#ff5555" -separator_bg = "#282a36" -separator_fg = "#bd93f9" -separator = "|" - -[icons] -name = "none" -[icons.overrides] -backlight_empty = "" -backlight_full = "" -backlight_partial1 = "" -backlight_partial2 = "" -backlight_partial3 = "" -bat = "" -bat_charging = "" -bat_discharging = "" -bat_empty = "" -bat_quarter = "" -bat_half = "" -bat_three_quarters = "" -bat_full = "" -cogs = "龍" -disk_drive = "" -headphones = "  " -memory_mem = "" -net_down = "DOWN" -net_up = "UP" -net_vpn = " " -net_wired = "" -net_wireless = " " -thermometer = "  " -time = "" -volume_empty = "" -volume_full = "" -volume_half = "" -volume_muted= " MUTE" - - -[[block]] -block = "net" -device = "wg" -hide_inactive = true -hide_missing = true - -[[block]] -block = "net" -device = "wlo1" -hide_inactive = true -hide_missing = true - -[[block]] -block = "custom" -command = '''echo " $(cat /sys/class/thermal/thermal_zone0/temp | head -c 2) °C"''' - -[[block]] -block = "disk_space" -path = "/" -info_type = "available" -unit = "GB" -format = "{icon} {available}" -interval = 20 -warning = 20.0 -alert = 10.0 - -[[block]] -block = "memory" -display_type = "memory" -format_mem = "{mem_total_used_percents}" -icons_format = " {icon}" -clickable = false - -[[block]] -block = "load" -interval = 1 -format = "{1m}" - -[[block]] -block = "sound" -driver = "pulseaudio" - -[[block]] -block = "backlight" - -[[block]] -block = "battery" -device = "BAT0" -interval = 10 -format = "{percentage} ({time})" -full_format = "{percentage} ({time}) " -icons_format = " {icon} " - -[[block]] -block = "time" -interval = 60 -format = "%Y-%m-%d %H:%M" diff --git a/roles/desktop.nix b/roles/desktop.nix index 405171b..b8d115a 100644 --- a/roles/desktop.nix +++ b/roles/desktop.nix @@ -10,37 +10,6 @@ let unstable = import { config.allowUnfree = true; }; in { - - services.autorandr.enable = true; - services.xserver = { - enable = true; - - displayManager = { - sddm.enable = true; - defaultSession = "none+i3"; - }; - - libinput = { - enable = true; - }; - - windowManager.i3 = { - enable = true; - extraPackages = with pkgs; [ - arandr - autorandr - dmenu - dunst - feh - i3lock - i3status-rust - maim - xclip - ]; - }; - }; - - programs.droidcam.enable = true; programs.sway = { enable = true;