Configure sway and foot
This commit is contained in:
parent
7fa8e68f82
commit
d868ec8eee
32
.config/foot/foot.ini
Normal file
32
.config/foot/foot.ini
Normal file
@ -0,0 +1,32 @@
|
||||
font=monospace:size=7
|
||||
term=xterm
|
||||
|
||||
[cursor]
|
||||
color=111111 cccccc
|
||||
blink=yes
|
||||
|
||||
[colors]
|
||||
alpha=0.75
|
||||
background=000000
|
||||
selection-foreground=000000
|
||||
selection-background=FFFACD
|
||||
regular0=000000
|
||||
bright0=767676
|
||||
regular1=CC0403
|
||||
bright1=F2001F
|
||||
regular2=19CB00
|
||||
bright2=23FD00
|
||||
regular3=CECB00
|
||||
bright3=FFFD00
|
||||
regular4=0D73CC
|
||||
bright4=1A8FFF
|
||||
regular5=CB1ED1
|
||||
bright5=FD28FF
|
||||
regular6=0DCDCD
|
||||
bright6=14FFFF
|
||||
regular7=DDDDDD
|
||||
bright7=FFFFFF
|
||||
|
||||
[key-bindings]
|
||||
scrollback-up-line=Control+Up
|
||||
scrollback-down-line=Control+Down
|
105
.config/sway/config
Normal file
105
.config/sway/config
Normal file
@ -0,0 +1,105 @@
|
||||
# Keys
|
||||
set $mod Alt
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Programs
|
||||
set $term foot
|
||||
|
||||
# Output settings
|
||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
|
||||
# Input settings
|
||||
input "1:1:1c25000.rtp" {
|
||||
map_to_region 0 0 480 272
|
||||
calibration_matrix -1.063517 0 1.032310 0 -1.214286 1.075894
|
||||
}
|
||||
|
||||
# Terminal and launcher controls
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Window controls
|
||||
bindsym $mod+Shift+q kill
|
||||
floating_modifier $mod normal
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
|
||||
# Sway controls
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m "Exit sway?" \
|
||||
-b "Exit sway" "swaymsg exit"
|
||||
|
||||
# Workspace controls
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
|
||||
# Layout controls
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
bindsym $mod+f fullscreen
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# Scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# Resize controls
|
||||
mode "resize" {
|
||||
bindsym $left resize shrink width 10px
|
||||
bindsym $down resize shrink height 10px
|
||||
bindsym $up resize grow height 10px
|
||||
bindsym $right resize grow width 10px
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Style
|
||||
font pango:monospace Medium 8
|
||||
client.focused #ff79c6 #000000 #ff79c6 #292d2e #000000
|
||||
client.unfocused #333333 #222222dd #888888 #292d2e #222222
|
||||
|
||||
# Status bar
|
||||
bar {
|
||||
position top
|
||||
status_command i3status
|
||||
colors {
|
||||
statusline #ffffff
|
||||
background #323232e0
|
||||
focused_workspace #ff79c6 #000000 #ff79c6
|
||||
inactive_workspace #323232aa #323232aa #acacac
|
||||
}
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
Loading…
Reference in New Issue
Block a user