1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
juan
c912281bce
Fix | wofi on HiDPI 2022-08-26 22:32:36 +08:00
juan
9747b62c1e
Chore | Format changes 2022-08-25 10:44:40 +08:00
6 changed files with 3 additions and 10 deletions

View File

@ -1,2 +1 @@
include ~/.config/sway/config.d/* include ~/.config/sway/config.d/*
include /etc/sway/config.d/*

View File

@ -1,7 +1,6 @@
# vim: filetype=i3config # vim: filetype=i3config
#set gtk theme #set gtk theme and font
set $gnome-schema org.gnome.desktop.interface set $gnome-schema org.gnome.desktop.interface
exec_always { exec_always {
gsettings set $gnome-schema gtk-theme 'Adwaita-dark' gsettings set $gnome-schema gtk-theme 'Adwaita-dark'
@ -12,7 +11,6 @@ exec_always {
} }
#set colour #set colour
#color class border backgr. text indicator child_border #color class border backgr. text indicator child_border
client.focused #87c095 #2a2f33 #bfddb2 #415c6d #bfddb2 client.focused #87c095 #2a2f33 #bfddb2 #415c6d #bfddb2
client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b

View File

@ -12,8 +12,8 @@ bindswitch --reload --locked lid:off output $laptop enable
bar swaybar_command waybar bar swaybar_command waybar
#borders stuff #borders stuff
default_border pixel 1 default_border pixel 1
#workspace_auto_back_and_forth yes #workspace_auto_back_and_forth yes
force_display_urgency_hint 500 ms force_display_urgency_hint 500 ms
smart_borders no_gaps smart_borders no_gaps

View File

@ -7,4 +7,3 @@ exec gentoo-pipewire-launcher
exec swaync exec swaync
exec playerctld daemon exec playerctld daemon
exec dbus-update-activation-environment --all exec dbus-update-activation-environment --all

View File

@ -10,13 +10,11 @@ set $menu wofi | xargs swaymsg exec --
#my keybinds #my keybinds
bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh
bindsym $mod+Print exec ~/.config/sway/scripts/grimshot-ui.sh bindsym $mod+Print exec ~/.config/sway/scripts/grimshot-ui.sh
bindsym $mod+m exec swaync-client -t -sw bindsym $mod+m exec swaync-client -t -sw
#bind fn keys #bind fn keys
bindsym XF86AudioMicMute exec amixer set Capture toggle 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' 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 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

View File

@ -1,7 +1,5 @@
# style # style
style=/home/juan/.config/wofi/style.css style=/home/juan/.config/wofi/style.css
xoffset=660
yoffset=275
width=600 width=600
height=500 height=500
@ -12,4 +10,5 @@ show_all=true
print_command=true print_command=true
layer=overlay layer=overlay
insensitive=true insensitive=true
location=center
prompt= prompt=