From 854f3b2fd5939962144af90d3e614d6247759ed9 Mon Sep 17 00:00:00 2001 From: Tobias Maier Date: Tue, 26 Jan 2021 15:49:26 +0100 Subject: [PATCH] config backup --- configs/micro/micro/buffers/history | Bin 93 -> 93 bytes configs/sway/config | 26 ++++++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/configs/micro/micro/buffers/history b/configs/micro/micro/buffers/history index 1e0e319d70e59ce80532614cd70af66d973c673a..773c6c5519c3a2e362c5c0503e3e9fcbce8e701c 100644 GIT binary patch delta 19 Zcma!zouJI^Uyz!|$eIr%6(%a_0{}Zp1;qdW delta 20 acma!zouE8XUyp~yzaTY_ku@JkDgXdJ&;`~2 diff --git a/configs/sway/config b/configs/sway/config index 648ac3a..f44b7dd 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -3,6 +3,7 @@ # Logo key. Use Mod1 for Alt. set $mod Mod4 + set $term alacritty set $menu bemenu-run -n --fn iosevka --nb "#2b384d" --tb "#2b384d" --fb "#2b384d" --hb "#db922c" --tf "#db922c" --hf "#d6d6d6" -nf "#d6d6d6" --tf "#d6d6d6" --ff "#d6d6d6" set $lock swaylock --screenshots --clock --indicator --effect-blur 5x7 @@ -13,23 +14,32 @@ input "type:keyboard" { xkb_options grp:alt_shift_toggle } +default_border pixel 1 + + exec mako exec waybar +exec udiskie --tray --appindicator +exec mkfifo /tmp/wob && tail -f /tmp/wob | wob +exec nm-applet --indicator +exec blueman-tray font iosevka +for_window [class="^.*"] inhibit_idle fullscreen + #colors: border backgr. text indicator -client.focused #544BCE #544BCE #ffffff #000000 +client.focused #5f5c8a 5f5c8a #ffffff #000000 client.focused_inactive #2B2B4F #2B2B4F #ffffff #2b2b2b client.unfocused #2B2B4F #2B2B4F #ffffff #2b2b2b client.urgent #D80000 #D80000 #ffffff #2b2b2b ### Output configuration # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output * bg background/arch.png fill ### Idle configuration -exec swayidle timeout 300 '$lock' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' +exec swayidle timeout 600 '$lock' timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' ### Input configuration input "2:14:ETPS/2_Elantech_Touchpad" { @@ -40,14 +50,14 @@ exec swayidle timeout 300 '$lock' timeout 600 'swaymsg "output * dpms off"' res } # You can get the names of your inputs by running: swaymsg -t get_inputs -bindsym XF86MonBrightnessUp exec "notify-send 'up'" -bindsym XF86MonBrightnessDown light -U 10 && notify-send "down" +bindsym XF86MonBrightnessUp exec light -A 10 && light | cut -d '.' -f1 > /tmp/wob +bindsym XF86MonBrightnessDown exec light -U 10 && light | cut -d '.' -f1 > /tmp/wob -bindsym XF86AudioMute exec "amixer -D pulse -q sset Master,0 toggle" +bindsym XF86AudioMute exec "amixer -D pulse -q sset Master,0 toggle" bindsym XF86AudioMicMute exec "amixer -q sset Capture,0 toggle" -bindsym XF86AudioRaiseVolume exec "amixer -q sset Master 5%+" -bindsym XF86AudioLowerVolume exec "amixer -q sset Master 5%-" +bindsym XF86AudioRaiseVolume exec "amixer -M sset Master 5%+ | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > /tmp/wob" +bindsym XF86AudioLowerVolume exec "amixer -M sset Master 5%- | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > /tmp/wob" bindsym $mod+L exec $lock