update everything to current config
This commit is contained in:
@ -12,17 +12,18 @@ set $right l
|
||||
set $term $TERMINAL
|
||||
set $browser $BROWSER
|
||||
set $editor $EDITOR
|
||||
set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
set $menu rofi -show combi | xargs swaymsg exec --
|
||||
|
||||
# wallpaper
|
||||
output "*" background ~/.local/share/bg fill
|
||||
exec change-background
|
||||
|
||||
|
||||
### daemons
|
||||
|
||||
|
||||
# autotype
|
||||
exec ydotoold
|
||||
# notifications
|
||||
exec swaync
|
||||
|
||||
# display orientation
|
||||
exec --no-startup-id kanshi
|
||||
@ -48,7 +49,13 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
# emacs daemon
|
||||
exec /usr/bin/emacs --daemon
|
||||
|
||||
exec_always autotiling
|
||||
#assign [app_id="librewolf"] 2
|
||||
#assign [app_id="firefox"] 2
|
||||
assign [app_id="mumble"] 9
|
||||
assign [app_id="dino"] 9
|
||||
assign [app_id="deluge"] 10
|
||||
|
||||
#exec_always autotiling
|
||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
@ -60,13 +67,14 @@ workspace_auto_back_and_forth no
|
||||
show_marks yes
|
||||
|
||||
# looks
|
||||
font pango: monospace 8
|
||||
gaps inner 25
|
||||
#default_border pixel 2
|
||||
bindsym $mod+Control+y border toggle
|
||||
|
||||
#set $cl_high #F5C2E7
|
||||
set $cl_high #1C242D
|
||||
set $cl_indi #1C242D
|
||||
set $cl_back #1E1D2F
|
||||
set $cl_high #333333
|
||||
set $cl_indi #333333
|
||||
set $cl_back #222222
|
||||
set $cl_fore #d9d8d8
|
||||
set $cl_urge #FF0000
|
||||
|
||||
@ -92,7 +100,8 @@ bindsym $mod+q kill
|
||||
|
||||
# start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+Shift+d exec wofi --show drun
|
||||
bindsym $mod+Shift+d exec dmenu_path | dmenu | xargs swaymsg exec
|
||||
|
||||
|
||||
# drag floating windows by holding down $mod and left mouse button.
|
||||
# resize them with right mouse button + $mod.
|
||||
@ -105,7 +114,7 @@ floating_modifier $mod normal
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
# toggle waybar
|
||||
bindsym $mod+Shift+x exec killall -SIGUSR1 waybar
|
||||
bindsym $mod+x exec killall -SIGUSR1 waybar
|
||||
|
||||
# exit sway (logs you out of your wayland session)
|
||||
bindsym $mod+Shift+backspace exec prompt "Do you really wont to exit sway? This will end your Wayland session" "swaymsg exit"
|
||||
@ -130,55 +139,53 @@ bindsym Print exec grimshot save output $HOME/Pictures/Screenshots/$(date +'%Y-%
|
||||
bindsym $mod+Print exec grimshot save active $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+Shift+Print exec grimshot save window $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
# alternative keybind
|
||||
bindsym $mod+Control+u exec grimshot save output $HOME/pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+u exec grimshot save active $HOME/pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+Shift+u exec grimshot save window $HOME/pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+Control+u exec grimshot save output $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+u exec grimshot save active $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
bindsym $mod+Shift+u exec grimshot save window $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
|
||||
|
||||
|
||||
### programs
|
||||
|
||||
# sway config
|
||||
bindsym $mod+F1 exec $term -e $editor ~/.config/sway/config
|
||||
bindsym $mod+F1 exec em ~/.config/sway/config
|
||||
bindsym $mod+F2 exec em ~/projects/shell/dynobara/packages.txt
|
||||
bindsym $mod+F3 exec em ~/projects/shell/dynobara/instruction.org
|
||||
|
||||
# browser
|
||||
bindsym $mod+w exec $browser
|
||||
|
||||
# agenda
|
||||
bindsym $mod+c exec $term -e $editor --eval '(org-agenda-list)'
|
||||
|
||||
# diary
|
||||
bindsym $mod+Control+n $term -e $editor --eval '(org-journal-new-entry 1)'
|
||||
bindsym $mod+c exec emacsclient -c --eval '(org-agenda-list)' || emacs --eval '(org-agenda-list)'
|
||||
|
||||
# notebook
|
||||
bindsym $mod+n exec $term -e $editor ~/notebook/index.org
|
||||
bindsym $mod+Control+r $term -e $editor ~/notebook/refile.org
|
||||
bindsym $mod+v exec em ~/notebook/refile.org
|
||||
|
||||
# newsboat (rss)
|
||||
bindsym $mod+Shift+n exec $term -e newsboat
|
||||
|
||||
# notifications tab
|
||||
bindsym $mod+Shift+t exec $term -e swaync-client -t
|
||||
bindsym $mod+t exec swaync-client -t
|
||||
|
||||
# file manager
|
||||
bindsym $mod+r exec $term -e lf
|
||||
|
||||
# emacs
|
||||
bindsym $mod+e exec $term -e $editor
|
||||
bindsym $mod+Shift+e exec em
|
||||
bindsym $mod+e exec emacsclient -c || emacs
|
||||
|
||||
# mail
|
||||
#bindsym $mod+e exec $term -e neomutt
|
||||
|
||||
# start tasks in dmenu
|
||||
bindsym $mod+x exec start-tasks
|
||||
bindsym $mod+Shift+x exec start-tasks
|
||||
|
||||
# bookmarks
|
||||
bindsym $mod+b exec $term -e $editor ~/notebook/bookmarks.org
|
||||
bindsym $mod+b exec em ~/notebook/bookmarks.org
|
||||
bindsym $mod+shift+b exec bookmark
|
||||
bindsym $mod+Insert exec ydotool type "$(grep -v '^#' ~/notebook/bookmarks/bookmarks.org | dmenu -l 50 | cut -d' ' -f1)"
|
||||
bindsym $mod+Insert exec wtype "$(grep -v '^#' ~/notebook/bookmarks.org | dmenu -l 50 | cut -d' ' -f1)"
|
||||
|
||||
# kaomiji?
|
||||
#bindsym $mod+z exec dmenukaomoji
|
||||
bindsym $mod+z exec dmenukaomoji
|
||||
|
||||
# keepass dmenu
|
||||
bindsym $mod+shift+Insert exec keepmenu
|
||||
@ -189,6 +196,9 @@ bindsym $mod+Control+m exec musdl
|
||||
# youtube client
|
||||
bindsym $mod+y exec io.freetubeapp.FreeTube $(wl-paste)
|
||||
|
||||
# games
|
||||
bindsym $mod+g exec taverner
|
||||
|
||||
# workspace names
|
||||
set $wp1 1
|
||||
set $wp2 2
|
||||
@ -201,6 +211,19 @@ set $wp8 8
|
||||
set $wp9 9
|
||||
set $wp10 10
|
||||
|
||||
|
||||
# binding workspace to monitors
|
||||
workspace $wp1 output HDMI-A-1
|
||||
workspace $wp2 output HDMI-A-1
|
||||
workspace $wp3 output HDMI-A-1
|
||||
workspace $wp4 output HDMI-A-1
|
||||
workspace $wp5 output HDMI-A-1
|
||||
workspace $wp6 output DVI-D-1
|
||||
workspace $wp7 output DVI-D-1
|
||||
workspace $wp8 output DVI-D-1
|
||||
workspace $wp9 output DVI-D-1
|
||||
workspace $wp10 output DVI-D-1
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $wp1
|
||||
bindsym $mod+2 workspace $wp2
|
||||
@ -255,9 +278,9 @@ bindsym $mod+Alt+down move workspace to output down
|
||||
bindsym $mod+s sticky toggle
|
||||
|
||||
# switch the current container between different layout styles
|
||||
# bindsym $mod+s layout stacking
|
||||
# bindsym $mod+w layout tabbed
|
||||
# bindsym $mod+e layout toggle split
|
||||
#bindsym $mod+Shift+s layout stacking
|
||||
bindsym $mod+Shift+w layout tabbed
|
||||
bindsym $mod+Shift+e layout toggle split
|
||||
|
||||
# make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
@ -348,5 +371,7 @@ bindsym $mod+m exec $term -e ncmpcpp
|
||||
#bindsym $mod+Shift+o exec mpc repeat
|
||||
#bindsym $mod+Shift+i exec mpc seek 0%
|
||||
|
||||
bindsym $mod+Shift+s exec ~/.config/sway/scripts/sway-select-window
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
include ~/syncthing/default/config.d/sway/*
|
||||
|
Reference in New Issue
Block a user