diff options
Diffstat (limited to 'dotfiles/.config')
| -rw-r--r-- | dotfiles/.config/niri/config.kdl | 8 | ||||
| -rw-r--r-- | dotfiles/.config/wl-kbptr/config | 56 |
2 files changed, 60 insertions, 4 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index fa4b408..c55563f 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -374,10 +374,6 @@ binds { // Most actions that you can bind here can also be invoked programmatically with // `niri msg action do-something`. - // Mod-Shift-/, which is usually the same as Mod-?, - // shows a list of important hotkeys. - Mod+Shift+Slash { show-hotkey-overlay; } - Mod+Return { spawn "alacritty"; } Mod+D { spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "window,drun,run"; @@ -391,6 +387,10 @@ binds { Mod+X { spawn "lock-color"; } Mod+Shift+X { spawn "lock-color" "screenon"; } + // Keyboard pointer control + Mod+V { spawn "wl-kbptr" "-o" "modes=floating,click" "-o" "mode_floating.source=detect"; } + Mod+Shift+V { spawn "wl-kbptr" "-o" "modes=tile,bisect"; } + // Example volume keys mappings for PipeWire & WirePlumber. // The allow-when-locked=true property makes them work even when the session is locked. XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; } diff --git a/dotfiles/.config/wl-kbptr/config b/dotfiles/.config/wl-kbptr/config new file mode 100644 index 0000000..9d6dbac --- /dev/null +++ b/dotfiles/.config/wl-kbptr/config @@ -0,0 +1,56 @@ +# wl-kbptr can be configured with a configuration file. +# The file location can be passed with the -c parameter. +# Othewise the `$XDG_CONFIG_HOME/wl-kbptr/config` file will +# be loaded if it exits. Below is the default configuration. + +[general] +home_row_keys= +modes=tile,bisect +cancellation_status_code=0 + +[mode_tile] +label_color=#fffd +label_select_color=#fd0d +unselectable_bg_color=#2226 +selectable_bg_color=#0304 +selectable_border_color=#040c +label_font_family=sans-serif +label_font_size=8 50% 100 +label_symbols=abcdefghijklmnopqrstuvwxyz + +[mode_floating] +source=stdin +label_color=#fffd +label_select_color=#fd0d +unselectable_bg_color=#2226 +selectable_bg_color=#1718 +selectable_border_color=#040c +label_font_family=sans-serif +label_font_size=12 50% 100 +label_symbols=abcdefghijklmnopqrstuvwxyz + +[mode_bisect] +label_color=#fffd +label_font_size=20 +label_font_family=sans-serif +label_padding=12 +pointer_size=20 +pointer_color=#e22d +unselectable_bg_color=#2226 +even_area_bg_color=#0304 +even_area_border_color=#0408 +odd_area_bg_color=#0034 +odd_area_border_color=#0048 +history_border_color=#3339 + +[mode_split] +pointer_size=20 +pointer_color=#e22d +bg_color=#2226 +area_bg_color=#11111188 +vertical_color=#8888ffcc +horizontal_color=#008800cc +history_border_color=#3339 + +[mode_click] +button=left |
