updated desktop file to be more TOML compliant

This commit is contained in:
Yessiest 2023-07-03 21:00:40 +04:00
parent fc811359ae
commit 1b7cc116dc
1 changed files with 59 additions and 54 deletions

View File

@ -10,72 +10,70 @@ shell = "zsh"
# Format: <modifier>(+<modifier>+...)+<key> = "<command or :internal.function>" # Format: <modifier>(+<modifier>+...)+<key> = "<command or :internal.function>"
# "modkey" as modifier will be substituted for modkey variable in [global] # "modkey" as modifier will be substituted for modkey variable in [global]
[keys] [keys]
modkey+Left = ":root.tag_next" "modkey+Left" = ":root.tag_next"
modkey+Right = ":root.tag_prev" "modkey+Right" = ":root.tag_prev"
modkey+j = ":root.client_next" "modkey+j" = ":root.client_next"
modkey+k = ":root.client_previous" "modkey+k" = ":root.client_previous"
modkey+Control+j = ":root.screen_next" "modkey+Control+j" = ":root.screen_next"
modkey+Control+k = ":root.screen_previous" "modkey+Control+k" = ":root.screen_previous"
modkey+Tab = ":root.client_swap" "modkey+Tab" = ":root.client_swap"
modkey+Return = ":root.spawn_terminal" "modkey+Return" = ":root.spawn_terminal"
modkey+Shift+Return = ":root.spawn_browser" "modkey+Shift+Return" = ":root.spawn_browser"
modkey+Shift+y = ":root.toggle_titlebars" "modkey+Shift+y" = ":root.toggle_titlebars"
# Client keys only work if a focused client exists # Client keys only work if a focused client exists
modkey+Control+o = ":client.move_to_screen" "modkey+Control+o" = ":client.move_to_screen"
modkey+Shift+c = ":client.kill" "modkey+Shift+c" = ":client.kill"
modkey+t = ":client.cycle_screen" "modkey+t" = ":client.cycle_screen"
modkey+o = ":client.ontop" "modkey+o" = ":client.ontop"
modkey+b = ":client.below" "modkey+b" = ":client.below"
modkey+f = ":client.fullscreen" "modkey+f" = ":client.fullscreen"
modkey+n = ":client.minimize" "modkey+n" = ":client.minimize"
modkey+m = ":client.maximize" "modkey+m" = ":client.maximize"
modkey+p = ":client.pin" "modkey+p" = ":client.pin"
modkey+y = ":client.toggle_titlebars" "modkey+y" = ":client.toggle_titlebars"
# Widget keys # Widget keys
modkey+r = ":dismal.run" "modkey+r" = ":dismal.run"
modkey+s = ":help.show" "modkey+s" = ":help.show"
modkey+q = ":client.menu" "modkey+q" = ":client.menu"
modkey+x = ":supermenu.open" "modkey+x" = ":supermenu.open"
Control+XF86AudioRaiseVolume = ":client.volume_up" "Control+XF86AudioRaiseVolume" = ":client.volume_up"
Control+XF86AudioLowerVolume = ":client.volume_down" "Control+XF86AudioLowerVolume" = ":client.volume_down"
Control+XF86AudioMute = ":client.volume_mute" "Control+XF86AudioMute" = ":client.volume_mute"
XF86AudioRaiseVolume = ":root.volume_up" "XF86AudioRaiseVolume" = ":root.volume_up"
XF86AudioLowerVolume = ":root.volume_down" "XF86AudioLowerVolume" = ":root.volume_down"
XF86AudioMute = ":root.volume_mute" "XF86AudioMute" = ":root.volume_mute"
XF86MonBrightnessUp = ":battery.brightness_up" "XF86MonBrightnessUp" = ":battery.brightness_up"
XF86MonBrightnessDown = ":battery.brightness_down" "XF86MonBrightnessDown" = ":battery.brightness_down"
XF86AudioPlay = ":mpc.play" "XF86AudioPlay" = ":mpc.play"
XF86AudioPrev = ":mpc.prev" "XF86AudioPrev" = ":mpc.prev"
XF86AudioNext = ":mpc.next" "XF86AudioNext" = ":mpc.next"
# Custom keys # Custom keys
Print = "flameshot gui" "Print" = "flameshot gui"
Shift+Print = "flameshot launcher" "Shift+Print" = "flameshot launcher"
# Macro recording/playback keys # Macro recording/playback keys
KP_Home = ":macro.play_1" KP_Divide = ":macro.play_1"
KP_Up = ":macro.play_2" KP_Multiply = ":macro.play_2"
KP_PageUp = ":macro.play_3" KP_Add = ":macro.record_1"
KP_Left = ":macro.record_1" KP_Subtract = ":macro.record_2"
KP_Begin = ":macro.record_2"
KP_Right = ":macro.record_3"
KP_Delete = ":macro.loop" KP_Delete = ":macro.loop"
# Tiling # Tiling
modkey+Shift+j = ":layout.swap_next_client" "modkey+Shift+j" = ":layout.swap_next_client"
modkey+Shift+k = ":layout.swap_prev_client" "modkey+Shift+k" = ":layout.swap_prev_client"
modkey+Control+Return = ":client.swap_to_master" "modkey+Control+Return" = ":client.swap_to_master"
modkey+l = ":layout.increase_master" "modkey+l" = ":layout.increase_master"
modkey+h = ":layout.decrease_master" "modkey+h" = ":layout.decrease_master"
modkey+Shift+l = ":layout.increase_master_count" "modkey+Shift+l" = ":layout.increase_master_count"
modkey+Shift+h = ":layout.decrease_master_count" "modkey+Shift+h" = ":layout.decrease_master_count"
modkey+Control+l = ":layout.increase_column_count" "modkey+Control+l" = ":layout.increase_column_count"
modkey+Control+h = ":layout.decrease_column_count" "modkey+Control+h" = ":layout.decrease_column_count"
modkey+[ = ":layout.next_layout" "modkey+[" = ":layout.next_layout"
modkey+] = ":layout.prev_layout" "modkey+]" = ":layout.prev_layout"
# Power manager module # Power manager module
[powerman] [powerman]
@ -99,3 +97,10 @@ exec = "picom"
[macros] [macros]
step = 10 step = 10
# Autostart system
[autostart]
# Enable minimization of apps with "Hidden" in their .desktop file
minimize_enable = true
# How long to target apps that should be minimized
minimize_timeout = 120