From 675fffeb1279ed79a00d4efde5e72c7013fc74a7 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Thu, 16 May 2024 08:07:57 -0500 Subject: [PATCH] added mako config, splith/v bindings for sway and tmux --- mako/config | 11 +++++++++++ sway/config.d/03-keybindings | 2 ++ sway/config.d/06-startup | 1 + tmux/tmux.conf | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 mako/config diff --git a/mako/config b/mako/config new file mode 100644 index 0000000..89a65b0 --- /dev/null +++ b/mako/config @@ -0,0 +1,11 @@ +font=monospace 14 + +# Colors + +background-color=#1e1e2e +text-color=#cdd6f4 +border-color=#89b4fa +progress-color=over #313244 + +[urgency=high] +border-color=#fab387 diff --git a/sway/config.d/03-keybindings b/sway/config.d/03-keybindings index 5dfe25c..5fe4e8c 100644 --- a/sway/config.d/03-keybindings +++ b/sway/config.d/03-keybindings @@ -38,6 +38,8 @@ bindsym $mod+F9 move container to workspace number 9 bindsym $mod+F10 move container to workspace number 10 bindsym $mod+f fullscreen +bindsym $mod+k splith +bindsym $mod+j splitv bindsym XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobpipe bindsym XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume > $wobpipe diff --git a/sway/config.d/06-startup b/sway/config.d/06-startup index 16e1180..0a7f8a1 100644 --- a/sway/config.d/06-startup +++ b/sway/config.d/06-startup @@ -1,4 +1,5 @@ exec dbus-update-activation-environment DISPLAY +exec mako exec wl-paste -t text --watch clipman store exec wl-paste -p -t text --watch clipman store --histpath="~/.local/share/clipman-primary.json" exec pipewire diff --git a/tmux/tmux.conf b/tmux/tmux.conf index c528aca..ea92e82 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -26,7 +26,7 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection bind-key -T copy-mode-vi r send-keys -X rectangle-toggle bind r source-file ~/.tmux.conf \; display "tmux config reloaded :)" -bind | split-window -h -c "#{pane_current_path}" -bind - split-window -v -c "#{pane_current_path}" +bind k split-window -h -c "#{pane_current_path}" +bind j split-window -v -c "#{pane_current_path}" set -s escape-time 0