Last active
October 16, 2024 16:50
-
-
Save yevshev/548783452d794bee70e8ccf78f82ea74 to your computer and use it in GitHub Desktop.
macbook air
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
input type:touchpad { | |
dwt enabled | |
tap enabled | |
natural_scroll disabled | |
} | |
input type:keyboard { | |
xkb_options caps:escape | |
} | |
output * bg simple.png fill | |
floating_modifier Mod4 normal | |
set { | |
$mod Mod4 | |
$left h | |
$down j | |
$up k | |
$right l | |
$term footclient | |
$menu wmenu-run | |
$www firefox | |
} | |
bindsym --locked { | |
XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle | |
XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% | |
XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% | |
XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle | |
XF86MonBrightnessDown exec brightnessctl set 5%- | |
XF86MonBrightnessUp exec brightnessctl set 5%+ | |
XF86KbdBrightnessDown exec brightnessctl -d smc::kbd_backlight set 5%- | |
XF86KbdBrightnessUp exec brightnessctl -d smc::kbd_backlight set +5% | |
XF86AudioPlay exec playerctl play-pause | |
XF86AudioNext exec playerctl next | |
XF86AudioPrev exec playerctl previous | |
} | |
bindsym { | |
$mod+x exec wtype -P XF86Cut | |
$mod+c exec wtype -P XF86Copy | |
$mod+v exec wtype -P XF86Paste | |
} | |
bindsym { | |
$mod+Return exec $term | |
$mod+Shift+Return exec $www | |
$mod+d exec $menu | |
$mod+Shift+q kill | |
$mod+Shift+c reload | |
$mod+Shift+e exec swaynag -t warning -m 'Logout' -b 'Yes, exit sway' 'swaymsg exit' | |
$mod+Shift+r exec systemctl reboot | |
$mod+Shift+p exec systemctl poweroff | |
} | |
bindsym { | |
$mod+$left focus left | |
$mod+$down focus down | |
$mod+$up focus up | |
$mod+$right focus right | |
$mod+Left focus left | |
$mod+Down focus down | |
$mod+Up focus up | |
$mod+Right focus right | |
$mod+Shift+$left move left | |
$mod+Shift+$down move down | |
$mod+Shift+$up move up | |
$mod+Shift+$right move right | |
$mod+Shift+Left move left | |
$mod+Shift+Down move down | |
$mod+Shift+Up move up | |
$mod+Shift+Right move right | |
} | |
bindgesture { | |
swipe:3:right focus right | |
swipe:3:left focus left | |
swipe:4:right workspace prev | |
swipe:4:left workspace next | |
} | |
bindsym { | |
$mod+1 workspace number 1 | |
$mod+2 workspace number 2 | |
$mod+3 workspace number 3 | |
$mod+4 workspace number 4 | |
$mod+5 workspace number 5 | |
$mod+6 workspace number 6 | |
$mod+7 workspace number 7 | |
$mod+8 workspace number 8 | |
$mod+9 workspace number 9 | |
$mod+0 workspace number 10 | |
$mod+Shift+1 move container to workspace number 1 | |
$mod+Shift+2 move container to workspace number 2 | |
$mod+Shift+3 move container to workspace number 3 | |
$mod+Shift+4 move container to workspace number 4 | |
$mod+Shift+5 move container to workspace number 5 | |
$mod+Shift+6 move container to workspace number 6 | |
$mod+Shift+7 move container to workspace number 7 | |
$mod+Shift+8 move container to workspace number 8 | |
$mod+Shift+9 move container to workspace number 9 | |
$mod+Shift+0 move container to workspace number 10 | |
} | |
bindsym { | |
$mod+b splith | |
# $mod+v splitv | |
$mod+s layout stacking | |
$mod+w layout tabbed | |
$mod+e layout toggle split | |
$mod+f fullscreen | |
$mod+Shift+space floating toggle | |
$mod+space focus mode_toggle | |
$mod+a focus parent | |
$mod+r mode "resize" | |
$mod+Shift+minus move scratchpad | |
$mod+minus scratchpad show | |
} | |
mode "resize" { | |
bindsym { | |
$left resize shrink width 10px | |
$down resize grow height 10px | |
$up resize shrink height 10px | |
$right resize grow width 10px | |
Left resize shrink width 10px | |
Down resize grow height 10px | |
Up resize shrink height 10px | |
Right resize grow width 10px | |
Return mode "default" | |
Escape mode "default" | |
} | |
} | |
bar { | |
swaybar_command waybar | |
} | |
default_border pixel 2 | |
gaps inner 8 | |
client.focused #1693cf #1693cf #ffffff | |
xwayland disable | |
include /etc/sway/config.d/* | |
for_window [app_id="firefox"] move container to workspace 2, focus, layout tabbed | |
exec { | |
foot --server | |
mako | |
} |
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
[General] | |
EnableNetworkConfiguration=true | |
[Network] | |
NameResolvingService=systemd |
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
#%PAM-1.0 | |
auth sufficient pam_u2f.so cue | |
auth include system-auth | |
account include system-auth | |
session include system-auth |
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
#TabsToolbar, #back-button, #forward-button, #star-button{ | |
display: none; | |
} |
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
[zram0] | |
compression-algorithm = zstd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment