update

update
This commit is contained in:
cho
2023-07-02 16:41:21 +07:00
parent 20e21fbc3a
commit a542cb199b
23 changed files with 334 additions and 76 deletions

View File

@ -1,5 +1,6 @@
### sway settings
# logo key. Use Mod1 for Alt.
set $mod Mod4
@ -49,8 +50,8 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# emacs daemon
exec /usr/bin/emacs --daemon
#assign [app_id="librewolf"] 2
#assign [app_id="firefox"] 2
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
@ -68,8 +69,8 @@ show_marks yes
# looks
font pango: monospace 8
gaps inner 25
#default_border pixel 2
#gaps inner 25
default_border pixel 2
bindsym $mod+Control+y border toggle
set $cl_high #333333
@ -83,6 +84,13 @@ client.focused_inactive $cl_back $cl_back $cl_fore $cl_back $cl_back
client.unfocused $cl_back $cl_back $cl_fore $cl_back $cl_back
client.urgent $cl_urge $cl_urge $cl_fore $cl_urge $cl_urge
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Materia-dark'
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
gsettings set $gnome-schema color-scheme 'prefer-dark'
}
### Idle configuration
# timeout
@ -135,27 +143,30 @@ bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# screenshot
bindsym Print exec grimshot save output $HOME/Pictures/Screenshots/$(date +'%Y-%m-%d_%H.%M.%S_%Z').png
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
bindsym Print exec screenshot.sh output
bindsym $mod+Print exec screenshot.sh active
bindsym $mod+Shift+Print exec screenshot.sh window
# 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 screenshot.sh output
bindsym $mod+u exec screenshot.sh active
bindsym $mod+Shift+u exec screenshot.sh window
### programs
# sway config
# 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 -c --eval '(org-agenda-list)' || emacs --eval '(org-agenda-list)'
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