Added linux config for kanto
Updated dots script to correctly install across multiple systems Simplified rofi configuration Added sway config for kanto Fixed swaylock colour missing a zero Minor updates for specific font sizes, colours etc.
This commit is contained in:
143
config/sway/kanto.sway
Normal file
143
config/sway/kanto.sway
Normal file
@@ -0,0 +1,143 @@
|
||||
#
|
||||
# variables
|
||||
#
|
||||
|
||||
set $LOCK 'swaylock'
|
||||
|
||||
set $MOD Mod4
|
||||
|
||||
set $WS0 0一
|
||||
set $WS1 1二
|
||||
set $WS2 2三
|
||||
set $WS3 3四
|
||||
set $WS4 4五
|
||||
set $WS5 5六
|
||||
set $WS6 6七
|
||||
set $WS7 7八
|
||||
set $WS8 8九
|
||||
set $WS9 9十
|
||||
|
||||
set $DPYL DP-3
|
||||
set $DPYR DP-1
|
||||
|
||||
#
|
||||
# Input & keybinds
|
||||
#
|
||||
|
||||
input "type:keyboard" {
|
||||
xkb_layout gb
|
||||
}
|
||||
|
||||
floating_modifier $MOD normal
|
||||
|
||||
bindsym $MOD+return exec footclient
|
||||
bindsym $MOD+shift+q kill
|
||||
bindsym $MOD+d exec 'rofi -show drun'
|
||||
bindsym $MOD+w exec 'rofi -show window'
|
||||
|
||||
bindsym $MOD+shift+r reload
|
||||
bindsym $MOD+shift+e exec 'swaynag -t error -m "Hard Restart" -b "Yes" "swaymsg exit" -s "No" --button-gap 0'
|
||||
bindsym $MOD+shift+x exec $LOCK
|
||||
bindsym $MOD+shift+s exec 'grimshot copy area'
|
||||
|
||||
bindsym $MOD+shift+space floating toggle
|
||||
bindsym $MOD+f fullscreen
|
||||
bindsym $MOD+s split toggle
|
||||
|
||||
bindsym $MOD+k focus up
|
||||
bindsym $MOD+j focus down
|
||||
bindsym $MOD+h focus left
|
||||
bindsym $MOD+l focus right
|
||||
|
||||
bindsym $MOD+shift+k move up
|
||||
bindsym $MOD+shift+j move down
|
||||
bindsym $MOD+shift+h move left
|
||||
bindsym $MOD+shift+l move right
|
||||
|
||||
bindsym $MOD+1 workspace $WS0
|
||||
bindsym $MOD+2 workspace $WS1
|
||||
bindsym $MOD+3 workspace $WS2
|
||||
bindsym $MOD+4 workspace $WS3
|
||||
bindsym $MOD+5 workspace $WS4
|
||||
bindsym $MOD+6 workspace $WS5
|
||||
bindsym $MOD+7 workspace $WS6
|
||||
bindsym $MOD+8 workspace $WS7
|
||||
bindsym $MOD+9 workspace $WS8
|
||||
bindsym $MOD+0 workspace $WS9
|
||||
|
||||
bindsym $MOD+shift+1 move container to workspace $WS0
|
||||
bindsym $MOD+shift+2 move container to workspace $WS1
|
||||
bindsym $MOD+shift+3 move container to workspace $WS2
|
||||
bindsym $MOD+shift+4 move container to workspace $WS3
|
||||
bindsym $MOD+shift+5 move container to workspace $WS4
|
||||
bindsym $MOD+shift+6 move container to workspace $WS5
|
||||
bindsym $MOD+shift+7 move container to workspace $WS6
|
||||
bindsym $MOD+shift+8 move container to workspace $WS7
|
||||
bindsym $MOD+shift+9 move container to workspace $WS8
|
||||
bindsym $MOD+shift+0 move container to workspace $WS9
|
||||
|
||||
#
|
||||
# Visuals
|
||||
#
|
||||
|
||||
output $DPYL position 0 0 mode 3840x2160@60Hz scale 2
|
||||
output $DPYR position 1920 0 mode 1920x1080@144Hz
|
||||
output * background "background" fill #232323
|
||||
|
||||
# Gaps and outline
|
||||
#
|
||||
gaps inner 5
|
||||
default_border pixel 2
|
||||
|
||||
# Window colours
|
||||
#
|
||||
client.focused #85FF85 #181818 #FFFFFF #85FF85 #85FF85
|
||||
client.focused_inactive #C2FFC2 #181818 #FFFFFF #C2FFC2 #C2FFC2
|
||||
client.unfocused #252525 #181818 #FFFFFF #252525 #252525
|
||||
|
||||
font pango:Noto Sans CJK JP 10
|
||||
|
||||
# swaybar
|
||||
#
|
||||
bar {
|
||||
id 1
|
||||
|
||||
position top
|
||||
gaps 5
|
||||
workspace_min_width 25
|
||||
strip_workspace_numbers yes
|
||||
separator_symbol '|'
|
||||
status_edge_padding 10
|
||||
|
||||
font pango:Noto Sans CJK JP 10
|
||||
|
||||
# @Todo: Make better or switch to waybar or something but I really can't be bothered using
|
||||
# css to configure my desktop applications. I've already had to do it for rofi. They've
|
||||
# already taken my icons from me
|
||||
#
|
||||
status_command while date +'時間:%a %d %b, %H:%M'; do sleep 10; done
|
||||
|
||||
colors {
|
||||
background #181818
|
||||
statusline #FFFFFF
|
||||
separator #FFFFFF
|
||||
active_workspace #C2FFC2 #C2FFC2 #181818
|
||||
inactive_workspace #181818 #181818 #FFFFFF
|
||||
focused_workspace #85FF85 #85FF85 #181818
|
||||
}
|
||||
}
|
||||
|
||||
# Startup applications
|
||||
#
|
||||
exec $LOCK
|
||||
exec foot --server
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 900 'swaymsg "output * dpms off"' \
|
||||
timeout 1800 $LOCK \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep $LOCK
|
||||
|
||||
# Import any system level configuration changes
|
||||
#
|
||||
include /etc/sway/config.d/*
|
||||
Reference in New Issue
Block a user