Created
February 16, 2023 21:26
-
-
Save LudovicoPiero/9c0bb361d96cc1957b7cbcfc06474503 to your computer and use it in GitHub Desktop.
sway config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font pango:UbuntuMono Nerd Font 10.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 #D7DAE0 #96CDFB #1E1E28 #96CDFB #96CDFB | |
client.focused_inactive #1A1826 #1A1826 #D7DAE0 #575268 #1A1826 | |
client.unfocused #1A1826 #1E1E28 #D7DAE0 #1A1826 #1A1826 | |
client.urgent #F28FAD #F28FAD #1E1E28 #F28FAD #F28FAD | |
client.placeholder #1E1E28 #1E1E28 #D7DAE0 #1E1E28 #1E1E28 | |
client.background #1E1E28 | |
bindsym CTRL+Print exec grimblast --notify copy area | |
bindsym Mod4+1 workspace 1 | |
bindsym Mod4+2 workspace 2 | |
bindsym Mod4+3 workspace 3 | |
bindsym Mod4+4 workspace 4 | |
bindsym Mod4+5 workspace 5 | |
bindsym Mod4+6 workspace 6 | |
bindsym Mod4+7 workspace 7 | |
bindsym Mod4+8 workspace 8 | |
bindsym Mod4+9 workspace 9 | |
bindsym Mod4+Down resize shrink height 10px | |
bindsym Mod4+Left resize shrink width 10px | |
bindsym Mod4+Print exec grimblast --notify --cursor copysave output ~/Pictures/Screenshots/$(date +'%s.png') | |
bindsym Mod4+Return exec /nix/store/06pf3wm7p56bpq55ih7fncrfb0yjlz4i-foot-1.13.1/bin/foot | |
bindsym Mod4+Right resize grow width 10px | |
bindsym Mod4+Shift+1 move container to workspace 1 | |
bindsym Mod4+Shift+2 move container to workspace 2 | |
bindsym Mod4+Shift+3 move container to workspace 3 | |
bindsym Mod4+Shift+4 move container to workspace 4 | |
bindsym Mod4+Shift+5 move container to workspace 5 | |
bindsym Mod4+Shift+6 move container to workspace 6 | |
bindsym Mod4+Shift+7 move container to workspace 7 | |
bindsym Mod4+Shift+8 move container to workspace 8 | |
bindsym Mod4+Shift+9 move container to workspace 9 | |
bindsym Mod4+Shift+e exec /nix/store/il92y8xrkxdq0kqylap3960bagwcsgvk-thunar-4.18.3/bin/thunar | |
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 exit | |
bindsym Mod4+Shift+r reload | |
bindsym Mod4+Space floating toggle | |
bindsym Mod4+Up resize grow height 10px | |
bindsym Mod4+c splith | |
bindsym Mod4+d exec /nix/store/dx07vkij1kihng0p4h91h8r6mcppg5yg-discord-canary-0.0.148/bin/discordcanary | |
bindsym Mod4+e layout toggle split | |
bindsym Mod4+f fullscreen | |
bindsym Mod4+g exec /nix/store/hpccyic6pxqrwd56pqzz2rxrr9i13pmj-firefox-109.0.1/bin/firefox | |
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+p exec /nix/store/kcrxmj6flq5jdxclzd4k4v89f9lz77n6-fuzzel-1.8.2/bin/fuzzel | |
bindsym Mod4+r mode resize | |
bindsym Mod4+s layout stacking | |
bindsym Mod4+t layout tabbed | |
bindsym Mod4+v splitv | |
bindsym Mod4+w kill | |
bindsym Mod4+x exec wlogout | |
bindsym Print exec sharenix --selection | |
bindsym XF86AudioLowerVolume exec /nix/store/gazl1fw5sm6x9ln4bb0cgny6zf6k698l-alsa-utils-1.2.8/bin/amixer -q set Master 5%+ | |
bindsym XF86AudioMute exec /nix/store/gazl1fw5sm6x9ln4bb0cgny6zf6k698l-alsa-utils-1.2.8/bin/amixer set Master toggle | |
bindsym XF86AudioNext exec /nix/store/5a593l5plc4wpdpivcjr7g7zk28di3ss-playerctl-2.4.1/bin/playerctl next | |
bindsym XF86AudioPlay exec /nix/store/5a593l5plc4wpdpivcjr7g7zk28di3ss-playerctl-2.4.1/bin/playerctl play-pause | |
bindsym XF86AudioPrev exec /nix/store/5a593l5plc4wpdpivcjr7g7zk28di3ss-playerctl-2.4.1/bin/playerctl previous | |
bindsym XF86AudioRaiseVolume exec /nix/store/gazl1fw5sm6x9ln4bb0cgny6zf6k698l-alsa-utils-1.2.8/bin/amixer -q set Master 5%+ | |
bindsym XF86AudioStop exec /nix/store/5a593l5plc4wpdpivcjr7g7zk28di3ss-playerctl-2.4.1/bin/playerctl stop | |
bindsym XF86MonBrightnessDown exec /nix/store/h84i7ahyhczx13p7xz8mmc0j907kzhfv-brightnessctl-0.5.1/bin/brightnessctl/bin/brightnessctl set 5%- | |
bindsym XF86MonBrightnessUp exec /nix/store/h84i7ahyhczx13p7xz8mmc0j907kzhfv-brightnessctl-0.5.1/bin/brightnessctl set 5%+ | |
input "type:keyboard" { | |
repeat_delay 200 | |
repeat_rate 30 | |
} | |
input "type:touchpad" { | |
dwt enabled | |
natural_scroll enabled | |
tap enabled | |
} | |
output "*" { | |
bg /nix/store/x0dw56psgndqwcxifp43rfkqr47kcyrv-wallpaper.jpg 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:Google Sans, Font Awesome 6 Free, Font Awesome 6 Brands 9.000000 | |
position bottom | |
status_command i3status-rs ~/.config/i3status-rust/config-bottom.toml | |
swaybar_command /nix/store/vcy3773sjsw90rb0nyhaly832ggazyby-sway-1.8/bin/swaybar | |
colors { | |
background #1E1E28 | |
statusline #6E6C7C | |
separator #1A1826 | |
focused_workspace #D7DAE0 #96CDFB #1E1E28 | |
active_workspace #D7DAE0 #575268 #1E1E28 | |
inactive_workspace #575268 #1A1826 #D7DAE0 | |
urgent_workspace #F28FAD #F28FAD #1E1E28 | |
binding_mode #1E1E28 #FAE3B0 #1E1E28 | |
} | |
} | |
gaps inner 3 | |
gaps outer 3 | |
for_window [window_role="pop-up"] floating enable | |
for_window [window_role="bubble"] floating enable | |
for_window [window_role="dialog"] floating enable | |
for_window [window_type="dialog"] floating enable | |
for_window [app_id="lutris"] floating enable | |
for_window [app_id="thunar"] floating enable | |
for_window [app_id="pavucontrol"] floating enable | |
for_window [class=".*.exe"] floating enable | |
for_window [class="steam_app.*"] floating enable | |
for_window [class="^Steam$"] floating enable | |
for_window [class="Spotify"] move to workspace 5 | |
for_window [app_id="discord"] move to workspace 3 | |
for_window [app_id="firefox"] move to workspace 2 | |
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP | |
exec dunst | |
titlebar_border_thickness 1 | |
title_align center | |
titlebar_padding 2 | |
exec autotiling-rs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment