This commit is contained in:
Henrik Bakken
2024-04-11 11:03:25 +02:00
parent 648db0a6dc
commit 2f2081b566
4 changed files with 20 additions and 14 deletions
+13 -13
View File
@@ -60,9 +60,6 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+Shift+space floating toggle
bindsym $mod+Ctrl+space sticky toggle
bindsym $mod+Shift+p exec picom-trans -c -10
bindsym $mod+p exec picom-trans -c +10
bindsym $mod+minus scratchpad show
bindsym $mod+Shift+minus move scratchpad
@@ -89,22 +86,20 @@ bindsym $mod+Shift+Return exec urxvt
bindsym $mod+Shift+s --release exec --no-startup-id cd $(xdg-user-dir PICTURES) && scrot --freeze --select --exec 'xclip -selection clipboard -t image/png -i $f'
bindsym $mod+Shift+x --release exec --no-startup-id xkill
bindsym $mod+F1 exec urxvt -e htop
bindsym $mod+F1 exec wezterm -e htop
bindsym $mod+F2 exec qutebrowser
bindsym $mod+F3 exec pcmanfm
bindsym $mod+F4 exec urxvt -e ranger
bindsym $mod+F5 exec pavucontrol
bindsym $mod+F6 exec urxvt -e cmus
bindsym $mod+F7 exec urxvt -e ncspot
bindsym $mod+F9 exec --no-startup-id picom -b
bindsym $mod+Shift+F9 exec --no-startup-id pkill picom
bindsym $mod+F6 exec clementine
bindsym $mod+Shift+F6 exec wezterm -e cmus
bindsym $mod+F7 exec wezterm -e ncspot
bindsym $mod+Shift+F10 --release exec "killall dunst; exec notify-send 'restart dunst'"
bindsym $mod+p exec pcmanfm
bindsym $mod+Shift+p exec wezterm -e ranger
bindsym $mod+c exec qalculate-gtk
bindsym $mod+0 mode "$mode_system"
bindsym $mod+Shift+e mode "$mode_system"
bindsym $mod+z mode "resize"
bindsym $mod+g mode "$mode_gaps"
bindsym $mod+c exec qalculate-gtk
bindsym $mod+u exec zulip
# Open specific applications in floating mode
for_window [class="GParted"] floating enable border normal
@@ -119,6 +114,11 @@ for_window [class="Pamac-manager"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="qt5ct"] floating enable sticky enable border normal
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
for_window [class="^steam$"] floating enable
for_window [class="^Steam$"] floating enable
for_window [class="^steam$" title="^Steam$"] floating disable
# Set shut down, restart and locking features
set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown
mode "$mode_system" {
+5
View File
@@ -13,6 +13,7 @@ workspace $ws6 output DP-0
workspace $ws7 output DP-0
workspace $ws8 output DP-0
workspace $ws9 output DP-0
workspace $ws10 output DP-0
# Workspace names
set $ws1 1
@@ -24,6 +25,7 @@ set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $ws10 10
# switch to workspace
bindsym $mod+1 workspace $ws1
@@ -35,6 +37,7 @@ bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# Move focused container to workspace
bindsym $mod+Ctrl+1 move container to workspace $ws1
@@ -46,6 +49,7 @@ bindsym $mod+Ctrl+6 move container to workspace $ws6
bindsym $mod+Ctrl+7 move container to workspace $ws7
bindsym $mod+Ctrl+8 move container to workspace $ws8
bindsym $mod+Ctrl+9 move container to workspace $ws9
bindsym $mod+Ctrl+0 move container to workspace $ws10
# Move to workspace with focused container
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
@@ -57,3 +61,4 @@ bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
+1 -1
View File
@@ -895,7 +895,7 @@ require("lazy").setup({
cmdline = { enabled = true, view = "cmdline_popup" },
messages = {
enabled = true, -- enables the Noice messages UI
view = "notify", -- default view for messages
view = "mini", -- default view for messages
view_error = "notify", -- view for errors
view_warn = "mini", -- view for warnings
view_history = "popup", -- view for :messages
+1
View File
@@ -16,6 +16,7 @@ config.hide_tab_bar_if_only_one_tab = true
config.default_cursor_style = "BlinkingBar"
config.disable_default_key_bindings = true
config.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
config.set_environment_variables = { EDITOR = "nvim" }
config.keys = {
-- font size