fix: better swaybar transparency, keep quotes with cliphist, force apps to specific workspace
This commit is contained in:
parent
22cf0396f3
commit
8d74fe2976
2 changed files with 28 additions and 14 deletions
|
|
@ -15,7 +15,14 @@ set $ws2 2 term
|
|||
set $ws3 3 file
|
||||
set $ws4 4 blog
|
||||
set $ws5 5 media
|
||||
set $ws7 6 other
|
||||
set $ws6 6 other
|
||||
|
||||
assign [app_id="firefox"] $ws1
|
||||
assign [app_id="thunar"] $ws3
|
||||
assign [class="Strawberry"] $ws5
|
||||
|
||||
# ubermenu
|
||||
bindsym $mod+q exec bash -c 'sh ~/ubermenu'
|
||||
|
||||
default_border pixel 5
|
||||
default_floating_border pixel 5
|
||||
|
|
@ -30,9 +37,9 @@ set {
|
|||
$active #66ac9f
|
||||
}
|
||||
# border background text indicator childborder
|
||||
client.focused $bg $bg $text $active $active
|
||||
client.focused $bg $bg $text $active $active
|
||||
|
||||
output * bg ~/data/local/wallpaper/abstract.jpg fill
|
||||
output * bg ~/data/local/wallpaper/lukasz-szmigiel-jFCViYFYcus-unsplash.jpg fill
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
|
|
@ -50,7 +57,8 @@ exec swayidle -w \
|
|||
# Clipboard manager
|
||||
#exec wl-paste -t text --watch clipman store --no-persist
|
||||
exec wl-paste --watch cliphist store
|
||||
bindsym $mod+ctrl+v exec cliphist list | wmenu -l 3 | cliphist decode | wl-copy && wl-paste --no-newline | xargs -I {} wtype {}
|
||||
# bindsym $mod+ctrl+v exec cliphist list | wmenu -l 3 | cliphist decode | wl-copy && wl-paste --no-newline | xargs -I {} wtype {}
|
||||
bindsym $mod+ctrl+v exec cliphist list | wmenu -l 3 | cliphist decode | wl-copy && wtype -- $(wl-paste)
|
||||
|
||||
# Notifications
|
||||
|
||||
|
|
@ -63,7 +71,6 @@ input type:keyboard {
|
|||
}
|
||||
|
||||
input type:pointer {
|
||||
#accel_profile "flat" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
|
||||
accel_profile "adaptive" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
|
||||
pointer_accel -0.85 # set mouse sensitivity (between -1 and 1)
|
||||
}
|
||||
|
|
@ -123,7 +130,6 @@ bindsym $mod+3 workspace $ws3
|
|||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
|
|
@ -131,7 +137,6 @@ bindsym $mod+Shift+3 move container to workspace $ws3
|
|||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym ctrl+alt+shift+n workspace next
|
||||
bindsym ctrl+alt+shift+p workspace prev
|
||||
|
||||
|
|
@ -193,6 +198,7 @@ bindsym ctrl+alt+shift+r mode "RESIZE"
|
|||
# https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h
|
||||
# Get the device ID with `wpctl status` or use @DEFAULT_AUDIO_SINK@
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
# bindsym --release XF86AudioMute exec pkill -USR1 swaybar
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.01-
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.01+
|
||||
# FIXME: https://wiki.archlinux.org/title/MPRIS
|
||||
|
|
@ -210,7 +216,9 @@ bar {
|
|||
|
||||
colors {
|
||||
statusline #869795
|
||||
background #ffffff00
|
||||
# background #ffffffa6
|
||||
#background #ffffff33
|
||||
background #0000004d
|
||||
inactive_workspace #32323200 #32323200 #6c7e7c
|
||||
focused_workspace #2d4844 #2d4844 #d5dad9
|
||||
urgent_workspace #b4b479 #b4b479 #121c1b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue