cwm
This commit is contained in:
parent
885b418bc7
commit
0659703a0e
5 changed files with 128 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
[general]
|
[general]
|
||||||
fontname=Iosevka 14
|
fontname=Iosevka 13
|
||||||
selchars=-A-Za-z0-9,./?%&#:_
|
selchars=-A-Za-z0-9,./?%&#:_
|
||||||
scrollback=1000
|
scrollback=1000
|
||||||
bgcolor=rgb(246,245,244)
|
bgcolor=rgb(0,0,0)
|
||||||
fgcolor=rgb(0,0,0)
|
fgcolor=rgb(192,191,188)
|
||||||
palette_color_0=rgb(0,0,0)
|
palette_color_0=rgb(0,0,0)
|
||||||
palette_color_1=rgb(192,28,40)
|
palette_color_1=rgb(192,28,40)
|
||||||
palette_color_2=rgb(0,170,0)
|
palette_color_2=rgb(0,170,0)
|
||||||
|
|
|
||||||
120
files/.cwmrc
Normal file
120
files/.cwmrc
Normal file
|
|
@ -0,0 +1,120 @@
|
||||||
|
## CWM config file
|
||||||
|
|
||||||
|
# Sticky groups: uncomment to enable worskpace-like behavior
|
||||||
|
sticky yes
|
||||||
|
|
||||||
|
# Default font
|
||||||
|
fontname "Iosevka:pixelsize=14:bold"
|
||||||
|
|
||||||
|
# Appearance
|
||||||
|
borderwidth 2
|
||||||
|
color activeborder "#5294E2"
|
||||||
|
color inactiveborder "#565656"
|
||||||
|
color urgencyborder "#cc241d"
|
||||||
|
|
||||||
|
# Menu colors
|
||||||
|
color font "#eeeeee"
|
||||||
|
color selfont "#eeeeee"
|
||||||
|
color menubg "#161616"
|
||||||
|
color menufg "#5294E2"
|
||||||
|
|
||||||
|
#Gaps (top, bottom, left, right)
|
||||||
|
#gap 32 8 8 8
|
||||||
|
gap 8 8 8 8
|
||||||
|
|
||||||
|
# Size of manually tiled Windows in %
|
||||||
|
htile 50
|
||||||
|
vtile 50
|
||||||
|
|
||||||
|
# How many pixels a window gets moved by
|
||||||
|
moveamount 20
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
|
||||||
|
## 4 = Super key
|
||||||
|
## S = shift
|
||||||
|
## M = meta key = alt
|
||||||
|
|
||||||
|
# Remove all default keybindings
|
||||||
|
unbind-key all
|
||||||
|
|
||||||
|
# Toggle visibility of group n, hiding all other groups
|
||||||
|
bind-key 4-Tab group-last
|
||||||
|
bind-key 4-1 group-only-1
|
||||||
|
bind-key 4-2 group-only-2
|
||||||
|
bind-key 4-3 group-only-3
|
||||||
|
bind-key 4-4 group-only-4
|
||||||
|
bind-key 4-5 group-only-5
|
||||||
|
bind-key 4-6 group-only-6
|
||||||
|
bind-key 4-7 group-only-7
|
||||||
|
bind-key 4-8 group-only-8
|
||||||
|
bind-key 4-9 group-only-9
|
||||||
|
|
||||||
|
# Toggle group n's visibility, without hiding active group
|
||||||
|
bind-key 4C-1 group-toggle-1
|
||||||
|
bind-key 4C-2 group-toggle-2
|
||||||
|
bind-key 4C-3 group-toggle-3
|
||||||
|
bind-key 4C-4 group-toggle-4
|
||||||
|
bind-key 4C-5 group-toggle-5
|
||||||
|
bind-key 4C-6 group-toggle-6
|
||||||
|
bind-key 4C-7 group-toggle-7
|
||||||
|
bind-key 4C-8 group-toggle-8
|
||||||
|
bind-key 4C-9 group-toggle-9
|
||||||
|
|
||||||
|
# Move window to group n
|
||||||
|
bind-key 4S-1 window-movetogroup-1
|
||||||
|
bind-key 4S-2 window-movetogroup-2
|
||||||
|
bind-key 4S-3 window-movetogroup-3
|
||||||
|
bind-key 4S-4 window-movetogroup-4
|
||||||
|
bind-key 4S-5 window-movetogroup-5
|
||||||
|
bind-key 4S-6 window-movetogroup-6
|
||||||
|
bind-key 4S-7 window-movetogroup-7
|
||||||
|
bind-key 4S-8 window-movetogroup-8
|
||||||
|
bind-key 4S-9 window-movetogroup-9
|
||||||
|
|
||||||
|
# Toggle visibility of all groups
|
||||||
|
bind-key 4-a group-toggle-all
|
||||||
|
|
||||||
|
# Add focused window to current group
|
||||||
|
#bind-key 4-g window-group
|
||||||
|
|
||||||
|
# What follows is rather self-explanatory
|
||||||
|
bind-key 4-r restart
|
||||||
|
bind-key 4-q quit
|
||||||
|
|
||||||
|
bind-key 4S-d window-close
|
||||||
|
bind-key 4-u window-hide
|
||||||
|
|
||||||
|
bind-key 4-g window-fullscreen
|
||||||
|
bind-key 4-m window-maximize
|
||||||
|
bind-key 4-t window-htile
|
||||||
|
bind-key 4S-t window-vtile
|
||||||
|
|
||||||
|
# Cycle/reverse cycle through windows
|
||||||
|
bind-key 4-j window-cycle
|
||||||
|
bind-key 4-k window-rcycle
|
||||||
|
|
||||||
|
# Move windows
|
||||||
|
bind-key 4C-h window-move-left
|
||||||
|
bind-key 4C-j window-move-down
|
||||||
|
bind-key 4C-k window-move-up
|
||||||
|
bind-key 4C-l window-move-right
|
||||||
|
bind-key 4CS-h window-resize-left
|
||||||
|
bind-key 4CS-j window-resize-down
|
||||||
|
bind-key 4CS-k window-resize-up
|
||||||
|
bind-key 4CS-l window-resize-right
|
||||||
|
|
||||||
|
# Snap windows
|
||||||
|
bind-key 4M-h window-snap-left
|
||||||
|
bind-key 4M-j window-snap-down
|
||||||
|
bind-key 4M-k window-snap-up
|
||||||
|
bind-key 4M-l window-snap-right
|
||||||
|
|
||||||
|
# Open menus
|
||||||
|
bind-key 4M-m menu-window
|
||||||
|
bind-key 4-f menu-group
|
||||||
|
#bind-key 4-a menu-cmd
|
||||||
|
bind-key 4-d menu-exec
|
||||||
|
|
||||||
|
# Autogroup some apps
|
||||||
|
autogroup 5 "dooble,firefox,librewolf"
|
||||||
|
|
@ -6,4 +6,4 @@ env | while read -r pair; do
|
||||||
turnstile-update-runit-env "$(cut -d= -f1 <<< "$pair")"
|
turnstile-update-runit-env "$(cut -d= -f1 <<< "$pair")"
|
||||||
done
|
done
|
||||||
turnstile-update-runit-env 'DISPLAY=:0'
|
turnstile-update-runit-env 'DISPLAY=:0'
|
||||||
exec startx /usr/bin/sxwm
|
exec startx
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
setxkbmap de &
|
||||||
|
exec "$(which cwm)"
|
||||||
|
#exec "$(which sxwm)"
|
||||||
1
pkgs.txt
1
pkgs.txt
|
|
@ -1,5 +1,6 @@
|
||||||
alsa-pipewire
|
alsa-pipewire
|
||||||
chrony
|
chrony
|
||||||
|
cwm
|
||||||
dbus
|
dbus
|
||||||
dmenu
|
dmenu
|
||||||
dunst
|
dunst
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue