mirror of
https://github.com/Phantop/dotfiles
synced 2025-02-08 12:36:48 +00:00
dconf: clean up some unused keybinds and streamline dconf load
This commit is contained in:
parent
a686a3e6b7
commit
f657009ddf
|
@ -69,9 +69,5 @@ g g p:appdwarf ~/.local/appdwarf
|
|||
g g p:haiku-icons ~/.local/share/icons/Haiku
|
||||
|
||||
if test "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||
for i in ~/.dotfiles/dconf/*; do
|
||||
dconf reset -f "$(basename "$i" | tr : /)"
|
||||
#shellcheck disable=SC2094
|
||||
dconf load "$(basename "$i" | tr : /)" < "$i"
|
||||
done
|
||||
fish -c rebind
|
||||
fi
|
||||
|
|
|
@ -1,73 +1,52 @@
|
|||
[/]
|
||||
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom13/']
|
||||
custom-keybindings=[ '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/',
|
||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/' ]
|
||||
www=['<Super>q']
|
||||
|
||||
[custom-keybindings/custom0]
|
||||
binding='<Super>Return'
|
||||
command='kitty'
|
||||
name='Kitty'
|
||||
|
||||
[custom-keybindings/custom1]
|
||||
binding='<Super>d'
|
||||
command='fish -c launcher'
|
||||
name='Launcher'
|
||||
|
||||
[custom-keybindings/custom10]
|
||||
[custom-keybindings/custom5]
|
||||
binding='<Super>k'
|
||||
command='keepassxc'
|
||||
name='KeepassXC'
|
||||
|
||||
[custom-keybindings/custom11]
|
||||
binding='<Shift><Super>l'
|
||||
command='Ladybird'
|
||||
name='Ladybird'
|
||||
|
||||
[custom-keybindings/custom12]
|
||||
[custom-keybindings/custom4]
|
||||
binding='<Super>p'
|
||||
command='pcmanfm'
|
||||
name='PCManFM'
|
||||
|
||||
[custom-keybindings/custom2]
|
||||
binding='<Shift><Super>s'
|
||||
command='budgie-control-center'
|
||||
name='Settings'
|
||||
|
||||
[custom-keybindings/custom3]
|
||||
binding='<Super>s'
|
||||
command='org.buddiesofbudgie.BudgieScreenshot -i'
|
||||
name='Screenshot'
|
||||
|
||||
[custom-keybindings/custom4]
|
||||
binding='<Shift><Super>d'
|
||||
command='kitty discordo'
|
||||
name='Discord'
|
||||
|
||||
[custom-keybindings/custom5]
|
||||
binding='<Super>g'
|
||||
command='kitty gurk'
|
||||
name='Gurk'
|
||||
|
||||
[custom-keybindings/custom6]
|
||||
binding='<Super>n'
|
||||
command='netsurf-gtk3'
|
||||
name='Netsurf'
|
||||
|
||||
[custom-keybindings/custom7]
|
||||
binding='<Super>m'
|
||||
command='kitty musikcube'
|
||||
name='Musikcube'
|
||||
|
||||
[custom-keybindings/custom8]
|
||||
binding='<Shift><Super>o'
|
||||
command="fish -c 'open (fd | rofi -dmenu -i)'"
|
||||
name='Open'
|
||||
|
||||
[custom-keybindings/custom9]
|
||||
binding='<Super>c'
|
||||
command='kitty fish -c "exec nnn -A"'
|
||||
name='Files'
|
||||
|
||||
[custom-keybindings/custom13]
|
||||
binding='<Super>space'
|
||||
command='fish -c launcher'
|
||||
name='Launcher'
|
||||
|
|
6
fish/functions/rebind.fish
Normal file
6
fish/functions/rebind.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
function rebind
|
||||
for i in ~/.dotfiles/dconf/*
|
||||
dconf reset -f (basename "$i" | tr : /)
|
||||
sed -z 's/,\n/, /g' $i | dconf load $(basename "$i" | tr : /)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue