From cb1a94536432ce88118f8df5794f525ea20b0b78 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 26 Feb 2020 17:58:52 +0100 Subject: [PATCH] Rework configurations for hosts --- config/gtk-2.0/gtkfilechooser.ini | 2 +- config/sway/conf.d/morty.config | 13 +++++++++++++ config/sway/conf.d/rick.config | 14 ++++++++++++-- config/sway/config | 11 +---------- 4 files changed, 27 insertions(+), 13 deletions(-) diff --git a/config/gtk-2.0/gtkfilechooser.ini b/config/gtk-2.0/gtkfilechooser.ini index c522196..0b65807 100644 --- a/config/gtk-2.0/gtkfilechooser.ini +++ b/config/gtk-2.0/gtkfilechooser.ini @@ -2,7 +2,7 @@ LocationMode=filename-entry ShowHidden=false ShowSizeColumn=true -GeometryX=282 +GeometryX=362 GeometryY=194 GeometryWidth=876 GeometryHeight=538 diff --git a/config/sway/conf.d/morty.config b/config/sway/conf.d/morty.config index 437142e..be95b08 100644 --- a/config/sway/conf.d/morty.config +++ b/config/sway/conf.d/morty.config @@ -2,4 +2,17 @@ set $term termite set $menu exec $term --name=launcher -e launcher.sh set $lock_bg ~/documents/ressources/wallpapers/morty.jpg +# Input configuration +input * xkb_layout "us" +input * xkb_variant "altgr-intl" + output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill + +# autostart +# --------- + +exec swayidle \ + timeout 300 'swaylock -i $lock_bg' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -i $lock_bg' diff --git a/config/sway/conf.d/rick.config b/config/sway/conf.d/rick.config index c4e53f5..561a9c5 100644 --- a/config/sway/conf.d/rick.config +++ b/config/sway/conf.d/rick.config @@ -1,10 +1,20 @@ set $term kitty set $menu exec $term --class=launcher ~/.local/bin/launcher.sh +set $lock_bg ~/documents/ressources/wallpapers/morty.jpg + +# Input configuration +input * xkb_layout "us" +input * xkb_variant "altgr-intl" # Brightness bindsym XF86MonBrightnessDown exec brightnessctl set 2%- bindsym XF86MonBrightnessUp exec brightnessctl set 2%+ - - +output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill output eDP-1 scale 2 + +exec swayidle \ + timeout 300 'swaylock -i $lock_bg' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -i $lock_bg' diff --git a/config/sway/config b/config/sway/config index bd7cfaa..8f0f130 100644 --- a/config/sway/config +++ b/config/sway/config @@ -7,9 +7,6 @@ set $right l gaps inner 5 -# Input configuration -input * xkb_layout "us" -input * xkb_variant "altgr-intl" # i3 basic operation (reload, menu, menu etc.) bindsym $mod+Shift+c reload @@ -152,7 +149,7 @@ client.unfocused #000000 #4d3d46 #cccccc #000000 #000000 # Status Bar: bar { -swaybar_command waybar + swaybar_command waybar } # Include configuration by hostname @@ -166,10 +163,4 @@ exec_always import-gsettings.sh \ gtk-theme:gtk-theme-name \ font-name:gtk-font-name -exec swayidle \ - timeout 300 'swaylock -i $lock_bg' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock' - exec mako