diff --git a/.config/sway/config b/.config/sway/config index bde77c4..275734b 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,8 +14,7 @@ set $mod Mod4 set $term alacritty # Application Launcher -set $menu bemenu-run -p Run: -l 10 -c -M 500 --fn 'Terminus 17' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' -#set $menu rofi -show +set $menu bemenu-run -p "Run:" -l 10 -c -M 500 --fn 'Monospace 14' --tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' --cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' --hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' --ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98' ####################### # GENERAL KEYBINDS @@ -164,27 +163,102 @@ bindsym $mod+Ctrl+g exec grimshot save window # Bookmarks # Enter selected bookmark into target text field -bindsym $mod+i exec wtype $(grep -v '^#' ~/.local/share/bookmarks/bookmarks | bemenu -p Bookmark: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' | cut -d ' ' -f1) +bindsym $mod+i exec wtype $(grep -v '^#' ~/.local/share/bookmarks/bookmarks | bemenu -p Bookmark: -l 25 -c -M 500 --fn 'Monospace 14' --tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' --cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' --hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' --ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98' | cut -d ' ' -f1) # Insert bookmark into bookmark file (~/.local/share/bookmarks/bookmarks) bindsym $mod+Shift+i exec ~/.local/bin/bookmark_insert # Emojis -bindsym $mod+Shift+e exec wtype $(awk '{print $1, $0}' ~/.local/share/chars/emojis* | bemenu -p Emoji: -l 25 -c -M 500 --fn 'Noto Color Emoji,Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' | awk '{print $1}') +bindsym $mod+Shift+e exec wtype $(awk '{print $1, $0}' ~/.local/share/chars/emojis* | bemenu -p Emoji: -l 25 -c -M 500 --fn 'Noto Color Emoji,Monospace 14' --tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' --cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' --hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' --ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98' | awk '{print $1}') # Gopass bindsym $mod+y exec ~/.local/bin/pass_copy bindsym $mod+u exec ~/.local/bin/pass_user_copy bindsym $mod+p exec ~/.local/bin/pass_autofill +# Enable/disable trackpad +bindsym $mod+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events disabled +bindsym $mod+Shift+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events enabled + +# Switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+0 workspace $ws7 + +# Move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+0 move container to workspace $ws7 + +# Unused $mod+ bindings +# bindsym $mod+a exec +# bindsym $mod+c exec +# bindsym $mod+m exec +# bindsym $mod+n exec +# bindsym $mod+o exec +# bindsym $mod+q exec +# bindsym $mod+s exec +# bindsym $mod+t exec +# bindsym $mod+w exec +# bindsym $mod+x exec +# bindsym $mod+y exec +# bindsym $mod+z exec +# bindsym $mod+9 exec +# bindsym $mod+grave exec +# bindsym $mod+Tab exec +# bindsym $mod+Backspace exec +# bindsym $mod+equal exec +# bindsym $mod+bracketleft exec +# bindsym $mod+bracketright exec +# bindsym $mod+semicolon exec +# bindsym $mod+apostrophe exec +# bindsym $mod+comma exec +# bindsym $mod+period exec +# bindsym $mod+slash exec +# bindsym $mod+backslash exec + +# Unused $mod+Shift+ bindings +# bindsym $mod+Shift+a exec +# bindsym $mod+Shift+b exec +# bindsym $mod+Shift+d exec +# bindsym $mod+Shift+i exec +# bindsym $mod+Shift+o exec +# bindsym $mod+Shift+p exec +# bindsym $mod+Shift+q exec +# bindsym $mod+Shift+r exec +# bindsym $mod+Shift+s exec +# bindsym $mod+Shift+t exec +# bindsym $mod+Shift+u exec +# bindsym $mod+Shift+w exec +# bindsym $mod+Shift+x exec +# bindsym $mod+Shift+y exec +# bindsym $mod+Shift+z exec +# bindsym $mod+Shift+9 exec +# bindsym $mod+Shift+grave exec +# bindsym $mod+Shift+Tab exec +# bindsym $mod+Shift+Backspace exec +# bindsym $mod+Shift+equal exec +# bindsym $mod+Shift+bracketleft exec +# bindsym $mod+Shift+bracketright exec +# bindsym $mod+Shift+semicolon exec +# bindsym $mod+Shift+apostrophe exec +# bindsym $mod+Shift+comma exec +# bindsym $mod+Shift+period exec +# bindsym $mod+Shift+slash exec +# bindsym $mod+Shift+backslash exec ####################### # EXECS ####################### -# Gnome-keyring stuff maybe? -exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh - # Notifications exec_always sh -c 'pgrep -x dunst > /dev/null || dunst' @@ -197,6 +271,7 @@ exec /usr/bin/udiskie & # Network Manager tray applet exec /usr/bin/nm-applet +# SSH Agent exec eval $(ssh-agent -s) # Bluetooth manager tray applet @@ -239,8 +314,6 @@ client.focused "#D27A31" "#5F9EA0" "#000000" "#D27A31" set $opacity 0.9 for_window [app_id="emacs"] opacity $opacity -for_window [app_id="strawberry"] opacity $opacity -for_window [app_id="pcmanfm-qt"] opacity $opacity for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable for_window [app_id="bemenu"] floating enable for_window [app_id="bemenu"] layer top @@ -260,11 +333,6 @@ input type:keyboard { repeat_rate 45 } -# Disable trackpad by default -#input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" { -# events disable -#} - # Set trackpoint sensitivity on Laptop input "2:10:TPPS/2_Elan_TrackPoint" { pointer_accel 1.0 @@ -282,10 +350,6 @@ seat seat0 xcursor_theme Breeze_Light 30 # Hide mouse cursor after inactivity seat * hide_cursor 10000 -# Enable/disable trackpad -bindsym $mod+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events disabled -bindsym $mod+Shift+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events enabled - ####################### # OUTPUTS ####################### @@ -301,42 +365,18 @@ output DP-2 scale 1.5 # Wallpaper output * bg ~/.config/wallpapers/wall.jpg fill #0D0703 -# Enable/Disable extra HDMI screens -bindsym $mod+Shift+m output "HDMI-A-1" enable -bindsym $mod+Shift+n output "HDMI-A-1" disable - - ####################### # WORKSPACES ####################### # Assign workspaces to numbers -set $ws1 "1:I" -set $ws2 "2:II" -set $ws3 "3:III" -set $ws4 "4:IV" -set $ws5 "5:V" -set $ws6 "6:VI" -set $ws7 "7:VII" - -# Switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+0 workspace $ws7 - -# Move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+0 move container to workspace $ws7 - +set $ws1 1:I +set $ws2 2:II +set $ws3 3:III +set $ws4 4:IV +set $ws5 5:V +set $ws6 6:VI +set $ws7 7:VII ####################### # BAR