From 0be1080c44190eaba6e352d858a7b9fc6186bdc3 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 17 May 2024 10:15:42 +0300 Subject: emacs+sway: Use emacs to set wallpaper on startup --- .config/sway/config | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to '.config/sway/config') 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 -- cgit v1.2.3