initial commit
This commit is contained in:
122
sway/.config/sway/config
Normal file
122
sway/.config/sway/config
Normal file
@@ -0,0 +1,122 @@
|
||||
font pango:monospace 8.000000
|
||||
floating_modifier Mod4
|
||||
default_border pixel 2
|
||||
default_floating_border normal 2
|
||||
hide_edge_borders none
|
||||
focus_wrapping no
|
||||
focus_follows_mouse yes
|
||||
focus_on_window_activation smart
|
||||
mouse_warping output
|
||||
workspace_layout default
|
||||
workspace_auto_back_and_forth no
|
||||
client.focused #ef5ffc #ef5ffc #333333 #2e9ef4 #ef5ffc
|
||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
client.background #ffffff
|
||||
|
||||
bindsym Mod4+1 workspace number 1
|
||||
bindsym Mod4+2 workspace number 2
|
||||
bindsym Mod4+3 workspace number 3
|
||||
bindsym Mod4+4 workspace number 4
|
||||
bindsym Mod4+5 workspace number 5
|
||||
bindsym Mod4+6 workspace number 6
|
||||
bindsym Mod4+7 workspace number 7
|
||||
bindsym Mod4+8 workspace number 8
|
||||
bindsym Mod4+9 workspace number 9
|
||||
bindsym Mod4+0 workspace number 10
|
||||
bindsym Mod4+Control+Space focus mode_toggle
|
||||
bindsym Mod4+Control+p exec swaylock -f -c ef5ffc
|
||||
bindsym Mod4+Down focus down
|
||||
bindsym Mod4+Left focus left
|
||||
bindsym Mod4+Return exec alacritty
|
||||
bindsym Mod4+Right focus right
|
||||
bindsym Mod4+Shift+1 move container to workspace number 1
|
||||
bindsym Mod4+Shift+2 move container to workspace number 2
|
||||
bindsym Mod4+Shift+3 move container to workspace number 3
|
||||
bindsym Mod4+Shift+4 move container to workspace number 4
|
||||
bindsym Mod4+Shift+5 move container to workspace number 5
|
||||
bindsym Mod4+Shift+6 move container to workspace number 6
|
||||
bindsym Mod4+Shift+7 move container to workspace number 7
|
||||
bindsym Mod4+Shift+8 move container to workspace number 8
|
||||
bindsym Mod4+Shift+9 move container to workspace number 9
|
||||
bindsym Mod4+Shift+0 move container to workspace number 10
|
||||
bindsym Mod4+Shift+Down move down
|
||||
bindsym Mod4+Shift+Left move left
|
||||
bindsym Mod4+Shift+Right move right
|
||||
bindsym Mod4+Shift+Up move up
|
||||
bindsym Mod4+Shift+c reload
|
||||
bindsym Mod4+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
bindsym Mod4+Shift+h move left
|
||||
bindsym Mod4+Shift+j move down
|
||||
bindsym Mod4+Shift+k move up
|
||||
bindsym Mod4+Shift+l move right
|
||||
bindsym Mod4+Shift+minus move scratchpad
|
||||
bindsym Mod4+Shift+q kill
|
||||
bindsym Mod4+Shift+space floating toggle
|
||||
bindsym Mod4+Up focus up
|
||||
bindsym Mod4+a focus parent
|
||||
bindsym Mod4+b splith
|
||||
bindsym Mod4+d exec wofi -G | xargs swaymsg exec --
|
||||
bindsym Mod4+e layout toggle split
|
||||
bindsym Mod4+f fullscreen toggle
|
||||
bindsym Mod4+h focus left
|
||||
bindsym Mod4+j focus down
|
||||
bindsym Mod4+k focus up
|
||||
bindsym Mod4+l focus right
|
||||
bindsym Mod4+minus scratchpad show
|
||||
bindsym Mod4+r mode resize
|
||||
bindsym Mod4+s layout stacking
|
||||
bindsym Mod4+space exec wofi -G | xargs swaymsg exec --
|
||||
bindsym Mod4+v splitv
|
||||
bindsym Mod4+w layout tabbed
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86Launch1 exec ~/scripts/sunset.sh
|
||||
|
||||
input "type:keyboard" {
|
||||
xkb_layout us
|
||||
xkb_options caps:escape,compose:102,shift:both_capslock,eurosign:e
|
||||
xkb_variant altgr-intl
|
||||
}
|
||||
|
||||
output "*" {
|
||||
bg ~/.config/sway/xenia.png fill
|
||||
}
|
||||
|
||||
mode "resize" {
|
||||
bindsym Down resize grow height 10 px
|
||||
bindsym Escape mode default
|
||||
bindsym Left resize shrink width 10 px
|
||||
bindsym Return mode default
|
||||
bindsym Right resize grow width 10 px
|
||||
bindsym Up resize shrink height 10 px
|
||||
bindsym h resize shrink width 10 px
|
||||
bindsym j resize grow height 10 px
|
||||
bindsym k resize shrink height 10 px
|
||||
bindsym l resize grow width 10 px
|
||||
}
|
||||
|
||||
bar {
|
||||
font pango:monospace 8.000000
|
||||
position top
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
gaps inner 8
|
||||
smart_gaps on
|
||||
smart_borders on
|
||||
for_window [app_id="org.keepassxc.KeePassXC"] floating enable
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c ef5ffc' \
|
||||
timeout 600 'swaymsg output * dpms off' \
|
||||
resume 'swaymsg putput * dpms on' \
|
||||
before-sleep 'swaylock -f -c ef5ffc'
|
||||
|
||||
include ~/.config/sway/device-conf
|
||||
|
||||
exec swaymsg "output * scale 1.5"
|
||||
Reference in New Issue
Block a user