This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
sway_config/config/sway/conf.d/rick.config

32 lines
913 B
Text

set $term kitty
set $menu exec $term --class=launcher ~/.local/bin/launcher.sh
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg
# Input configuration
input * xkb_layout "us"
input * xkb_variant "altgr-intl"
# Brightness
bindsym XF86MonBrightnessDown exec brightnessctl set 2%-
bindsym XF86MonBrightnessUp exec brightnessctl set 2%+
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill
output eDP-1 scale 2
exec swayidle \
timeout 300 'swaylock -i $lock_bg' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -i $lock_bg'
# Autolaunch
for_window [app_id="mail"] resize set height 600 px
# $ws3 firefox
exec swaymsg 'workspace $ws3; layout tabbed; exec firefox'
# $ws5 : tabbed layout (Remmina)
exec swaymsg 'workspace $ws5l layout tabbed'
# launch mail workspace
exec ~/local/bin/launch_mail_workspace.sh