From 9747b62c1e1d25546306b6c96e29bed060428988 Mon Sep 17 00:00:00 2001 From: juan Date: Thu, 25 Aug 2022 10:44:40 +0800 Subject: [PATCH] Chore | Format changes --- .config/sway/config | 1 - .config/sway/config.d/colors | 4 +--- .config/sway/config.d/display | 2 +- .config/sway/config.d/exec | 1 - .config/sway/config.d/keybinds | 2 -- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index c2ced1d..54adc14 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,2 +1 @@ include ~/.config/sway/config.d/* -include /etc/sway/config.d/* diff --git a/.config/sway/config.d/colors b/.config/sway/config.d/colors index 7779e8c..dc8c7c6 100644 --- a/.config/sway/config.d/colors +++ b/.config/sway/config.d/colors @@ -1,7 +1,6 @@ # vim: filetype=i3config -#set gtk theme - +#set gtk theme and font set $gnome-schema org.gnome.desktop.interface exec_always { gsettings set $gnome-schema gtk-theme 'Adwaita-dark' @@ -12,7 +11,6 @@ exec_always { } #set colour - #color class border backgr. text indicator child_border client.focused #87c095 #2a2f33 #bfddb2 #415c6d #bfddb2 client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b diff --git a/.config/sway/config.d/display b/.config/sway/config.d/display index 01606b2..39cd65d 100644 --- a/.config/sway/config.d/display +++ b/.config/sway/config.d/display @@ -12,8 +12,8 @@ bindswitch --reload --locked lid:off output $laptop enable bar swaybar_command waybar #borders stuff - default_border pixel 1 + #workspace_auto_back_and_forth yes force_display_urgency_hint 500 ms smart_borders no_gaps diff --git a/.config/sway/config.d/exec b/.config/sway/config.d/exec index e6f3778..622875d 100644 --- a/.config/sway/config.d/exec +++ b/.config/sway/config.d/exec @@ -7,4 +7,3 @@ exec gentoo-pipewire-launcher exec swaync exec playerctld daemon exec dbus-update-activation-environment --all - diff --git a/.config/sway/config.d/keybinds b/.config/sway/config.d/keybinds index ff18cb0..d830fdf 100644 --- a/.config/sway/config.d/keybinds +++ b/.config/sway/config.d/keybinds @@ -10,13 +10,11 @@ set $menu wofi | xargs swaymsg exec -- #my keybinds -bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh bindsym $mod+Print exec ~/.config/sway/scripts/grimshot-ui.sh bindsym $mod+m exec swaync-client -t -sw #bind fn keys - bindsym XF86AudioMicMute exec amixer set Capture toggle exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob -p 1 -b 2 -a top -M 48 --border-color '#474f54F0' --background-color '#2a2f33F0' --bar-color '#bfddb2F0' --overflow-mode wrap --overflow-background-color '#2a2f33F0' --overflow-bar-color '#d76e6ef0' --overflow-border-color '#474f54F0' bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob