summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-17 10:15:42 +0300
committerThanos Apollo <[email protected]>2024-05-17 10:15:42 +0300
commit0be1080c44190eaba6e352d858a7b9fc6186bdc3 (patch)
tree6917262fd96ac17fd528c939b2bcd129cb92d081 /.config/sway
parent95401ae3d97e3ff3a285ad634e2fce6b941a0a14 (diff)
emacs+sway: Use emacs to set wallpaper on startup
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config19
1 files changed, 6 insertions, 13 deletions
diff --git a/.config/sway/config b/.config/sway/config
index caa6114..dc3ceb6 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,10 +1,9 @@
## Mod key
set $mod Mod4
-#exec sudo /home/thanos/.local/bin/tailscaled
-exec nm-applet
+
+exec emacs
exec waybar
-exec swayidle -w timeout 360 swaylock before-sleep swaylock
bindsym $mod+z exec swaylock
@@ -15,8 +14,8 @@ bindsym $mod+comma exec grimshot save area
bindsym $mod+Shift+comma exec grimshot save screen
## Setup monitors & wallpapers
-output DP-2 pos 0 0 res 2560x1440 bg ~/wallpapers/colors-fantasy.jpg stretch
-output HDMI-A-1 pos 2560 0 res 2560x1440 bg ~/wallpapers/colors-fantasy.jpg fill transform 270
+output DP-2 pos 0 0 res 2560x1440
+output HDMI-A-1 pos 2560 0 res 2560x1440 transform 270
default_border pixel 3
default_floating_border pixel 3
@@ -33,20 +32,12 @@ smart_borders on
#swaymsg -t get_tree | grep app_id
for_window [app_id="pop-up"] floating enable
for_window [app_id="thanos/pass-launcher"] floating enable
- for_window [app_id="bubble"] floating enable
for_window [app_id="task_dialog"] floating enable
- for_window [app_id="Preferences"] floating enable
for_window [app_id="dialog"] floating enable
- for_window [app_id="menu"] floating enable
for_window [app_id="Organizer"] floating enable
- for_window [app_id="About"] floating enable
for_window [app_id="toolbox"] floating enable
for_window [app_id="page-info"] floating enable
for_window [app_id="webconsole"] floating enable
- for_window [app_id="Authy"] floating enable
- for_window [app_id="termfloat"] floating enable
- for_window [app_id="termfloat"] resize set height 540
- for_window [app_id="termfloat"] resize set width 960
for_window [app_id="mpv"] floating enable
for_window [app_id="mpv"] resize set height 540
for_window [app_id="mpv"] resize set width 960
@@ -274,3 +265,5 @@ bindsym Shift+Ctrl+Left resize shrink width 5 px or 5 ppt
bindsym Shift+Ctrl+Up resize grow height 5 px or 5 ppt
bindsym Shift+Ctrl+Down resize shrink height 5 px or 5 ppt
bindsym Shift+Ctrl+Right resize grow width 5 px or 5 ppt
+
+exec swayidle -w timeout 360 swaylock before-sleep swaylock \ No newline at end of file