*
*
This commit is contained in:
@ -39,17 +39,13 @@ exec --no-startup-id kanshi
|
||||
exec mpd
|
||||
|
||||
# xresources (nsxiv theme, and other programs)
|
||||
exec xrdb $HOME/.config/x11/xresources
|
||||
exec sleep 5 && xrdb -load $HOME/.config/x11/xresources
|
||||
|
||||
# Syncthing (sync daemon)
|
||||
exec syncthing --no-browser
|
||||
|
||||
# polkit
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# emacs daemon (locally built)
|
||||
exec /usr/local/bin/emacs --daemon
|
||||
exec swaymsg "workspace 1; exec sleep 10 && emacsclient -c;"
|
||||
exec --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1
|
||||
|
||||
# sworkstyle
|
||||
#exec sworkstyle &> /tmp/sworkstyle.log
|
||||
@ -60,6 +56,11 @@ exec swaymsg "workspace 1; exec sleep 10 && emacsclient -c;"
|
||||
#assign [app_id="dino"] 9
|
||||
#assign [app_id="deluge"] 10
|
||||
|
||||
#for_window [app_id=".*"] floating enable
|
||||
for_window [app_id="uxnemu"] floating enable
|
||||
for_window [app_id="uxnemu"] border pixel 0
|
||||
|
||||
|
||||
#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
|
||||
@ -67,26 +68,33 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE
|
||||
|
||||
# behavior
|
||||
focus_follows_mouse no
|
||||
hide_edge_borders smart
|
||||
workspace_auto_back_and_forth no
|
||||
show_marks yes
|
||||
|
||||
# looks
|
||||
font pango: monospace 8
|
||||
gaps inner 10
|
||||
gaps inner 25
|
||||
default_border pixel 2
|
||||
hide_edge_borders smart
|
||||
bindsym $mod+Control+y border toggle
|
||||
|
||||
# swayfx specific
|
||||
blur enable
|
||||
blur_xray enable
|
||||
blur_passes 2
|
||||
blur_radius 3
|
||||
blur_passes 1
|
||||
# 2
|
||||
blur_radius 1
|
||||
# 3
|
||||
#corner_radius 20
|
||||
shadows enable
|
||||
shadows disable
|
||||
|
||||
# 333333
|
||||
set $cl_high #333333
|
||||
set $cl_indi #333333
|
||||
set $cl_back #222222
|
||||
#set $cl_high #000000
|
||||
#set $cl_indi #000000
|
||||
#set $cl_back #999999
|
||||
set $cl_fore #d9d8d8
|
||||
set $cl_urge #FF0000
|
||||
|
||||
@ -95,12 +103,12 @@ 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'
|
||||
}
|
||||
#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
|
||||
|
||||
@ -163,8 +171,8 @@ 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
|
||||
#bindsym $mod+Tab exec sway-select-window
|
||||
bindsym $mod+Tab exec ss.sh
|
||||
|
||||
### programs
|
||||
|
||||
@ -172,7 +180,9 @@ bindsym $mod+Shift+Tab exec ss.sh
|
||||
bindsym $mod+w exec $browser
|
||||
|
||||
# agenda
|
||||
bindsym $mod+c exec emacsclient -c --eval '(org-agenda-list)' || emacs -c --eval '(org-agenda-list)'
|
||||
bindsym $mod+c exec emacsclient -c -a '' --eval '(org-agenda-list)'
|
||||
|
||||
# org-capture
|
||||
bindsym $mod+Shift+c exec ~/.emacs.d/bin/org-capture
|
||||
|
||||
# newsboat (rss)
|
||||
@ -185,14 +195,17 @@ bindsym $mod+t exec swaync-client -t
|
||||
bindsym $mod+r exec $term -e lf
|
||||
|
||||
# emacs
|
||||
bindsym $mod+e exec emacsclient -c || emacs
|
||||
bindsym $mod+e exec emacsclient -c -a ''
|
||||
|
||||
# mail
|
||||
#bindsym $mod+e exec thunderbird-wayland
|
||||
|
||||
# bookmarks
|
||||
bindsym $mod+b exec emacsclient -c ~/notebook/bookmarks.org || emacs -c ~/notebook/bookmarks.org
|
||||
# open
|
||||
bindsym $mod+b exec emacsclient -c -a '' ~/notebook/bookmarks.org
|
||||
# open bookmarks
|
||||
bindsym $mod+shift+b exec bookmark
|
||||
# insert
|
||||
bindsym $mod+Insert exec wtype "$(grep -v '^#' ~/notebook/bookmarks.org | dmenu -l 50 | cut -d' ' -f1)"
|
||||
|
||||
# kaomiji?
|
||||
@ -351,7 +364,7 @@ mode "resize" {
|
||||
# status bar
|
||||
#include $HOME/.config/sway/bar
|
||||
exec_always killall waybar
|
||||
exec_always sleep 2 && waybar
|
||||
exec_always sleep 3 && waybar
|
||||
|
||||
|
||||
### special keys
|
||||
@ -397,4 +410,4 @@ bindsym $mod+m exec $term -e ncmpcpp
|
||||
bindsym $mod+Shift+s exec ~/.config/sway/scripts/sway-select-window
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
include ~/syncthing/default/config.d/sway/*
|
||||
include ~/.config/sway/priv
|
||||
|
Reference in New Issue
Block a user