extensive update: some cleanup, todo/agenda changes, publishing system, swayfx, WIPs, etc.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
### sway settings
|
||||
### sway(fx) settings
|
||||
|
||||
|
||||
# logo key. Use Mod1 for Alt.
|
||||
@ -13,8 +13,8 @@ set $right l
|
||||
set $term $TERMINAL
|
||||
set $browser $BROWSER
|
||||
set $editor $EDITOR
|
||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
set $menu rofi -show combi | xargs swaymsg exec --
|
||||
set $menu wofi -i --show drun | xargs swaymsg exec --
|
||||
set $dmenu wofi -i --show run | xargs swaymsg exec --
|
||||
|
||||
# wallpaper
|
||||
exec change-background
|
||||
@ -30,7 +30,7 @@ exec swaync
|
||||
exec --no-startup-id kanshi
|
||||
|
||||
# input method
|
||||
exec fcitx5
|
||||
#exec fcitx5
|
||||
|
||||
# night light
|
||||
#exec sleep 3 && gammastep -l LAT:LON
|
||||
@ -47,8 +47,12 @@ exec syncthing --no-browser
|
||||
# polkit
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# emacs daemon
|
||||
exec /usr/bin/emacs --daemon
|
||||
# emacs daemon (locally built)
|
||||
exec /usr/local/bin/emacs --daemon
|
||||
exec swaymsg "workspace 1; exec sleep 10 && emacsclient -c;"
|
||||
|
||||
# sworkstyle
|
||||
#exec sworkstyle &> /tmp/sworkstyle.log
|
||||
|
||||
#assign [app_id="librewolf"] 2
|
||||
#assign [app_id="firefox"] 2
|
||||
@ -69,9 +73,16 @@ show_marks yes
|
||||
|
||||
# looks
|
||||
font pango: monospace 8
|
||||
gaps inner 25
|
||||
gaps inner 10
|
||||
default_border pixel 2
|
||||
bindsym $mod+Control+y border toggle
|
||||
# swayfx specific
|
||||
blur enable
|
||||
blur_xray enable
|
||||
blur_passes 2
|
||||
blur_radius 3
|
||||
#corner_radius 20
|
||||
shadows enable
|
||||
|
||||
set $cl_high #333333
|
||||
set $cl_indi #333333
|
||||
@ -108,7 +119,7 @@ bindsym $mod+q kill
|
||||
|
||||
# start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+Shift+d exec dmenu_path | dmenu | xargs swaymsg exec
|
||||
bindsym $mod+Shift+d exec $dmenu
|
||||
|
||||
|
||||
# drag floating windows by holding down $mod and left mouse button.
|
||||
@ -151,26 +162,18 @@ bindsym $mod+Control+u exec screenshot.sh output
|
||||
bindsym $mod+u exec screenshot.sh active
|
||||
bindsym $mod+Shift+u exec screenshot.sh window
|
||||
|
||||
# app switcher
|
||||
bindsym $mod+Tab exec sway-select-window
|
||||
bindsym $mod+Shift+Tab exec ss.sh
|
||||
|
||||
### programs
|
||||
|
||||
# files
|
||||
bindsym $mod+F1 exec em ~/.config/sway/config
|
||||
bindsym $mod+F2 exec em ~/.dotroot/packages.txt
|
||||
bindsym $mod+F3 exec em ~/.dotroot/instructions.org
|
||||
bindsym $mod+F4 exec em ~/notebook/studies/college.org
|
||||
bindsym $mod+F5 exec em ~/notebook/ag/habits.org
|
||||
bindsym $mod+F6 exec em ~/notebook/ag/todo.org
|
||||
|
||||
# browser
|
||||
bindsym $mod+w exec $browser
|
||||
|
||||
# agenda
|
||||
bindsym $mod+c exec emacsclient --eval '(org-agenda-list)' || emacs --eval '(org-agenda-list)'
|
||||
|
||||
# notebook
|
||||
bindsym $mod+n exec $term -e $editor ~/notebook/index.org
|
||||
bindsym $mod+v exec em ~/notebook/refile.org
|
||||
bindsym $mod+c exec emacsclient -c --eval '(org-agenda-list)' || emacs -c --eval '(org-agenda-list)'
|
||||
bindsym $mod+Shift+c exec ~/.emacs.d/bin/org-capture
|
||||
|
||||
# newsboat (rss)
|
||||
bindsym $mod+Shift+n exec $term -e newsboat
|
||||
@ -185,31 +188,27 @@ bindsym $mod+r exec $term -e lf
|
||||
bindsym $mod+e exec emacsclient -c || emacs
|
||||
|
||||
# mail
|
||||
#bindsym $mod+e exec $term -e neomutt
|
||||
|
||||
# start tasks in dmenu
|
||||
bindsym $mod+Control+d exec start-tasks
|
||||
bindsym $mod+Shift+x exec start-tasks
|
||||
#bindsym $mod+e exec thunderbird-wayland
|
||||
|
||||
# bookmarks
|
||||
bindsym $mod+b exec em ~/notebook/bookmarks.org
|
||||
bindsym $mod+b exec emacsclient -c ~/notebook/bookmarks.org || emacs -c ~/notebook/bookmarks.org
|
||||
bindsym $mod+shift+b exec bookmark
|
||||
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
|
||||
bindsym $mod+shift+Insert exec keepmenu
|
||||
|
||||
# download script
|
||||
bindsym $mod+Control+m exec musdl
|
||||
|
||||
# youtube client
|
||||
# open youtube link in ft
|
||||
bindsym $mod+y exec io.freetubeapp.FreeTube $(wl-paste)
|
||||
|
||||
# games
|
||||
bindsym $mod+g exec taverner
|
||||
# bindsym $mod+g exec taverner
|
||||
|
||||
# workspace names
|
||||
set $wp1 1
|
||||
@ -225,6 +224,18 @@ set $wp10 10
|
||||
|
||||
|
||||
# binding workspace to monitors
|
||||
# main monitor on right
|
||||
#workspace $wp1 output DVI-D-1
|
||||
#workspace $wp2 output DVI-D-1
|
||||
#workspace $wp3 output DVI-D-1
|
||||
#workspace $wp4 output DVI-D-1
|
||||
#workspace $wp5 output DVI-D-1
|
||||
#workspace $wp6 output HDMI-A-1
|
||||
#workspace $wp7 output HDMI-A-1
|
||||
#workspace $wp8 output HDMI-A-1
|
||||
#workspace $wp9 output HDMI-A-1
|
||||
#workspace $wp10 output HDMI-A-1
|
||||
# main monitor on left
|
||||
workspace $wp1 output HDMI-A-1
|
||||
workspace $wp2 output HDMI-A-1
|
||||
workspace $wp3 output HDMI-A-1
|
||||
@ -237,28 +248,28 @@ 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
|
||||
bindsym $mod+3 workspace $wp3
|
||||
bindsym $mod+4 workspace $wp4
|
||||
bindsym $mod+5 workspace $wp5
|
||||
bindsym $mod+6 workspace $wp6
|
||||
bindsym $mod+7 workspace $wp7
|
||||
bindsym $mod+8 workspace $wp8
|
||||
bindsym $mod+9 workspace $wp9
|
||||
bindsym $mod+0 workspace $wp10
|
||||
bindsym $mod+1 workspace number $wp1
|
||||
bindsym $mod+2 workspace number $wp2
|
||||
bindsym $mod+3 workspace number $wp3
|
||||
bindsym $mod+4 workspace number $wp4
|
||||
bindsym $mod+5 workspace number $wp5
|
||||
bindsym $mod+6 workspace number $wp6
|
||||
bindsym $mod+7 workspace number $wp7
|
||||
bindsym $mod+8 workspace number $wp8
|
||||
bindsym $mod+9 workspace number $wp9
|
||||
bindsym $mod+0 workspace number $wp10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $wp1
|
||||
bindsym $mod+Shift+2 move container to workspace $wp2
|
||||
bindsym $mod+Shift+3 move container to workspace $wp3
|
||||
bindsym $mod+Shift+4 move container to workspace $wp4
|
||||
bindsym $mod+Shift+5 move container to workspace $wp5
|
||||
bindsym $mod+Shift+6 move container to workspace $wp6
|
||||
bindsym $mod+Shift+7 move container to workspace $wp7
|
||||
bindsym $mod+Shift+8 move container to workspace $wp8
|
||||
bindsym $mod+Shift+9 move container to workspace $wp9
|
||||
bindsym $mod+Shift+0 move container to workspace $wp10
|
||||
bindsym $mod+Shift+1 move container to workspace number $wp1
|
||||
bindsym $mod+Shift+2 move container to workspace number $wp2
|
||||
bindsym $mod+Shift+3 move container to workspace number $wp3
|
||||
bindsym $mod+Shift+4 move container to workspace number $wp4
|
||||
bindsym $mod+Shift+5 move container to workspace number $wp5
|
||||
bindsym $mod+Shift+6 move container to workspace number $wp6
|
||||
bindsym $mod+Shift+7 move container to workspace number $wp7
|
||||
bindsym $mod+Shift+8 move container to workspace number $wp8
|
||||
bindsym $mod+Shift+9 move container to workspace number $wp9
|
||||
bindsym $mod+Shift+0 move container to workspace number $wp10
|
||||
|
||||
# move focused container to workspace
|
||||
# with comma/period (</>)
|
||||
|
Reference in New Issue
Block a user