Update sway configs.
This commit is contained in:
parent
a8f8018b27
commit
15195fa50b
5 changed files with 20 additions and 38 deletions
|
|
@ -1,13 +1,15 @@
|
||||||
set $term alacritty
|
set $term foot
|
||||||
set $menu fuzzel
|
set $menu fuzzel
|
||||||
|
set $fm pcmanfm
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Workspace names
|
# Workspace names
|
||||||
set $ws1 1:code
|
set $ws1 1:code
|
||||||
set $ws2 2:ref
|
set $ws2 2:make
|
||||||
set $ws3 3:net
|
set $ws3 3:net
|
||||||
set $ws4 4:game
|
set $ws4 4:comm
|
||||||
|
set $ws5 5:game
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
include config.d/*
|
include config.d/*
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
focus_on_window_activation none
|
focus_on_window_activation none
|
||||||
|
|
||||||
|
input type:keyboard {
|
||||||
|
xkb_options compose:menu
|
||||||
|
}
|
||||||
|
|
||||||
input type:pointer {
|
input type:pointer {
|
||||||
pointer_accel -0.5
|
pointer_accel -0.5
|
||||||
|
|
@ -13,6 +16,8 @@ input type:pointer {
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
bindsym $mod+m exec $fm
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+q kill
|
bindsym $mod+q kill
|
||||||
|
|
||||||
|
|
@ -59,7 +64,7 @@ input type:pointer {
|
||||||
bindsym $mod+2 workspace number $ws2
|
bindsym $mod+2 workspace number $ws2
|
||||||
bindsym $mod+3 workspace number $ws3
|
bindsym $mod+3 workspace number $ws3
|
||||||
bindsym $mod+4 workspace number $ws4
|
bindsym $mod+4 workspace number $ws4
|
||||||
bindsym $mod+5 workspace number 5
|
bindsym $mod+5 workspace number $ws5
|
||||||
bindsym $mod+6 workspace number 6
|
bindsym $mod+6 workspace number 6
|
||||||
bindsym $mod+7 workspace number 7
|
bindsym $mod+7 workspace number 7
|
||||||
bindsym $mod+8 workspace number 8
|
bindsym $mod+8 workspace number 8
|
||||||
|
|
@ -70,7 +75,7 @@ input type:pointer {
|
||||||
bindsym $mod+Shift+2 move container to workspace number $ws2
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace number $ws3
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace number $ws4
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace number 5
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace number 6
|
bindsym $mod+Shift+6 move container to workspace number 6
|
||||||
bindsym $mod+Shift+7 move container to workspace number 7
|
bindsym $mod+Shift+7 move container to workspace number 7
|
||||||
bindsym $mod+Shift+8 move container to workspace number 8
|
bindsym $mod+Shift+8 move container to workspace number 8
|
||||||
|
|
@ -133,16 +138,17 @@ mode "resize" {
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Utilities:
|
# Utilities:
|
||||||
#
|
#
|
||||||
# Special keys to adjust volume via PulseAudio
|
# Special keys to adjust volume via PipeWire
|
||||||
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle# && echo 0 >> /tmp/wob-pipe
|
bindsym --locked XF86AudioMute exec wpctl set-mute \@DEFAULT_AUDIO_SINK@ toggle
|
||||||
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%# && echo 0 >> /tmp/wob-pipe
|
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume \@DEFAULT_AUDIO_SINK@ 0.05-
|
||||||
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%# && echo 0 >> /tmp/wob-pipe
|
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume \@DEFAULT_AUDIO_SINK@ 0.05+
|
||||||
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
|
||||||
# Special keys to adjust brightness via brightnessctl
|
# Special keys to adjust brightness via brightnessctl
|
||||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
# bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
# bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
# Special key to take a screenshot with grim
|
# Special key to take a screenshot with grim
|
||||||
bindsym Print exec grim
|
bindsym Print exec grim
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
gaps inner 10
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
### Output configuration
|
|
||||||
#
|
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
|
||||||
output DP-3 {
|
|
||||||
mode 3440x1440@144Hz
|
|
||||||
bg /home/anna/Pictures/backgrounds/tarantula.png fill
|
|
||||||
}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
#
|
|
||||||
# Status Bar:
|
|
||||||
#
|
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
|
||||||
bar {
|
|
||||||
position top
|
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
|
||||||
# The default just shows the current date and time.
|
|
||||||
status_command while true; do /home/anna/bin/custom_sway_status.sh; sleep 1; done
|
|
||||||
|
|
||||||
colors {
|
|
||||||
statusline #ffffff
|
|
||||||
background #323232
|
|
||||||
inactive_workspace #32323200 #32323200 #5c5c5c
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue