fancifying sway more
This commit is contained in:
@@ -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+<key> bindings
|
||||
# bindsym $mod+a exec <command>
|
||||
# bindsym $mod+c exec
|
||||
# bindsym $mod+m exec <command>
|
||||
# bindsym $mod+n exec <command>
|
||||
# bindsym $mod+o exec <command>
|
||||
# bindsym $mod+q exec <command>
|
||||
# bindsym $mod+s exec <command>
|
||||
# bindsym $mod+t exec <command>
|
||||
# bindsym $mod+w exec <command>
|
||||
# bindsym $mod+x exec <command>
|
||||
# bindsym $mod+y exec <command>
|
||||
# bindsym $mod+z exec <command>
|
||||
# bindsym $mod+9 exec <command>
|
||||
# bindsym $mod+grave exec <command>
|
||||
# bindsym $mod+Tab exec <command>
|
||||
# bindsym $mod+Backspace exec <command>
|
||||
# bindsym $mod+equal exec <command>
|
||||
# bindsym $mod+bracketleft exec <command>
|
||||
# bindsym $mod+bracketright exec <command>
|
||||
# bindsym $mod+semicolon exec <command>
|
||||
# bindsym $mod+apostrophe exec <command>
|
||||
# bindsym $mod+comma exec <command>
|
||||
# bindsym $mod+period exec <command>
|
||||
# bindsym $mod+slash exec <command>
|
||||
# bindsym $mod+backslash exec <command>
|
||||
|
||||
# Unused $mod+Shift+<key> bindings
|
||||
# bindsym $mod+Shift+a exec <command>
|
||||
# bindsym $mod+Shift+b exec <command>
|
||||
# bindsym $mod+Shift+d exec <command>
|
||||
# bindsym $mod+Shift+i exec <command>
|
||||
# bindsym $mod+Shift+o exec <command>
|
||||
# bindsym $mod+Shift+p exec <command>
|
||||
# bindsym $mod+Shift+q exec <command>
|
||||
# bindsym $mod+Shift+r exec <command>
|
||||
# bindsym $mod+Shift+s exec <command>
|
||||
# bindsym $mod+Shift+t exec <command>
|
||||
# bindsym $mod+Shift+u exec <command>
|
||||
# bindsym $mod+Shift+w exec <command>
|
||||
# bindsym $mod+Shift+x exec <command>
|
||||
# bindsym $mod+Shift+y exec <command>
|
||||
# bindsym $mod+Shift+z exec <command>
|
||||
# bindsym $mod+Shift+9 exec <command>
|
||||
# bindsym $mod+Shift+grave exec <command>
|
||||
# bindsym $mod+Shift+Tab exec <command>
|
||||
# bindsym $mod+Shift+Backspace exec <command>
|
||||
# bindsym $mod+Shift+equal exec <command>
|
||||
# bindsym $mod+Shift+bracketleft exec <command>
|
||||
# bindsym $mod+Shift+bracketright exec <command>
|
||||
# bindsym $mod+Shift+semicolon exec <command>
|
||||
# bindsym $mod+Shift+apostrophe exec <command>
|
||||
# bindsym $mod+Shift+comma exec <command>
|
||||
# bindsym $mod+Shift+period exec <command>
|
||||
# bindsym $mod+Shift+slash exec <command>
|
||||
# bindsym $mod+Shift+backslash exec <command>
|
||||
|
||||
#######################
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user