dotfiles/.config/sway/conf.d/1-set

89 lines
1.7 KiB
Text

# ================= #
# Variable settings #
# ================= #
## Set super-key as mod key
set $mod Mod4
set $alt Mod1
set $altgr Mod5
set $left Left
set $down Down
set $up Up
set $right Right
set $term foot
set $menu fuzzel | xargs swaymsg exec --
set $pass_menu tessen
## Define Workspaces
## nerdfonts cheat sheet: https://www.nerdfonts.com/cheat-sheet
set $ws1 1:
set $ws2 2:󰈹
set $ws3 3:
set $ws4 4:󰈹
set $ws5 5:
set $ws6 6:6
set $ws7 7:7
set $ws8 8:8
set $ws9 9:9
set $ws0 10:10
set $wsF1 11:
set $wsF2 12:󰋎
set $wsF3 13:
set $wsF4 14:14
set $wsF5 15:
set $wsF6 16:
set $wsF7 17:󰙯
set $wsF8 18:
set $wsF9 19:
set $wsF10 20:20
set $wsF11 21:
set $wsF12 22:󰡶
# =================== #
# Input configuration #
# =================== #
input "type:keyboard" {
xkb_layout us
xkb_variant altgr-intl
xkb_options caps:escape
xkb_numlock enable
}
input "type:pointer" {
accel_profile flat
pointer_accel 0.1
dwt disabled
scroll_factor 0.5
}
# ==================== #
# Output configuration #
# ==================== #
## Define outputs
set $disp1 HDMI-A-1
set $disp2 DP-1
set $disp3 DP-2
output $disp1 {
resolution 1920x1080@60.000Hz
position 0,0
transform 270
bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png fill
}
output $disp2 {
resolution 1920x1080@60.000Hz
position 1080,550
bg ~/.config/sway/backgrounds/Nyarch_Wallpaper.png fill
}
output $disp3 {
#resolution 1920x1080@60.000Hz
resolution 1920x1080@119.982Hz
position 3000,550
bg ~/.config/sway/backgrounds/Nyarch_Wallpaper.png fill
adaptive_sync on
}