add spectrwm, alacritty dark/light, and bell off
This commit is contained in:
parent
31370f4f79
commit
069e1e3e85
@ -46,6 +46,12 @@ schemas:
|
||||
foreground: '#c8cccf'
|
||||
normal: *dark-normal-colors
|
||||
bright: *bright-colors
|
||||
dark: &dark
|
||||
primary:
|
||||
background: '#2c444d'
|
||||
foreground: '#e7e7e7'
|
||||
normal: *dark-normal-colors
|
||||
bright: *bright-colors
|
||||
lupan_material_dark: &lupan-material-dark
|
||||
primary:
|
||||
background: '#263238'
|
||||
@ -64,7 +70,7 @@ schemas:
|
||||
primary:
|
||||
background: '#f2f6e1'
|
||||
foreground: '#1a3a34'
|
||||
normal:
|
||||
normal: &lupan-light-normal
|
||||
black: '#000000'
|
||||
red: '#a65959'
|
||||
green: '#5ba659'
|
||||
@ -88,8 +94,14 @@ schemas:
|
||||
cyan: '#00acc1'
|
||||
white: '#fafafa'
|
||||
bright: *bright-colors
|
||||
light: &light
|
||||
primary:
|
||||
background: '#f2f2f2'
|
||||
foreground: '#454545'
|
||||
normal: *lupan-light-normal
|
||||
bright: *bright-colors
|
||||
|
||||
colors: *lupan-material-dark
|
||||
colors: *dark
|
||||
|
||||
font:
|
||||
size: 12
|
||||
|
61
spectrwm/.spectrwm.conf
Normal file
61
spectrwm/.spectrwm.conf
Normal file
@ -0,0 +1,61 @@
|
||||
# Workspace
|
||||
|
||||
warp_pointer = 1
|
||||
workspace_limit = 22
|
||||
|
||||
# Windows
|
||||
|
||||
border_width = 3
|
||||
color_focus = rgb:d9/77/06
|
||||
color_unfocus = rgb:64/74/8b
|
||||
tile_gap = -3
|
||||
|
||||
# Bar
|
||||
|
||||
bar_border[1] = rgb:cb/d5/e1
|
||||
bar_color[1] = rgb:64/74/8b
|
||||
bar_font = Iosevka Slab Light:style=Regular:size=12:antialias=true
|
||||
bar_font_color[1] = rgb:cb/d5/e1
|
||||
bar_font_color_selected[1] = black
|
||||
bar_format = +< +N:+I +S +< %a %R +< +W
|
||||
|
||||
|
||||
# Launch at start
|
||||
|
||||
autorun = ws[1]:emacsclient -n -c
|
||||
autorun = ws[2]:st
|
||||
autorun = ws[9]:firefox
|
||||
|
||||
# Programs
|
||||
|
||||
program[brightness_dec] = brightnessctl set 5%-
|
||||
program[brightness_inc] = brightnessctl set 5%+
|
||||
program[emacs] = emacs
|
||||
program[emacsclient] = emacsclient -n -c
|
||||
program[lock] = slock
|
||||
program[mixer] = pavucontrol
|
||||
program[suspend] = systemctl suspend
|
||||
program[term] = alacritty
|
||||
program[term2] = st
|
||||
program[theme_dark] = lupan-set-theme dark
|
||||
program[theme_light] = lupan-set-theme light
|
||||
program[volume_dec] = pactl set-sink-volume @DEFAULT_SINK@ -10%
|
||||
program[volume_inc] = pactl set-sink-volume @DEFAULT_SINK@ +10%
|
||||
program[volume_mute] = pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Key bindings
|
||||
|
||||
modkey = Mod4
|
||||
|
||||
bind[brightness_dec] = XF86MonBrightnessDown
|
||||
bind[brightness_inc] = XF86MonBrightnessUp
|
||||
bind[emacs] = MOD+Shift+n
|
||||
bind[emacsclient] = MOD+n
|
||||
bind[mixer] = MOD+Control+p
|
||||
bind[suspend] = MOD+Control+s
|
||||
bind[term2] = MOD+Control+Return
|
||||
bind[theme_dark] = MOD+Control+d
|
||||
bind[theme_light] = MOD+Control+l
|
||||
bind[volume_dec] = XF86AudioLowerVolume
|
||||
bind[volume_inc] = XF86AudioRaiseVolume
|
||||
bind[volume_mute] = XF86AudioMute
|
@ -4,6 +4,7 @@ if [ -z "$EDITOR" ]; then
|
||||
. ~/.profile
|
||||
fi
|
||||
|
||||
xset b off
|
||||
xrandr --auto
|
||||
xrandr --output HDMI1 --right-of DP1
|
||||
xrdb -merge ~/.Xresources
|
||||
@ -22,6 +23,11 @@ emacsclient --eval nil -a '' &
|
||||
|
||||
xsettingsd &
|
||||
|
||||
if which spectrwm > /dev/null; then
|
||||
xsetroot -solid '#4a4a4a'
|
||||
exec spectrwm
|
||||
fi
|
||||
|
||||
if which lupan-wm > /dev/null; then
|
||||
xsetroot -solid '#4a4a4a' -cursor_name left_ptr
|
||||
lupan-clock &
|
||||
|
@ -18,7 +18,7 @@ xsetroot -solid "$BGCOLOR"
|
||||
|
||||
# Alacritty
|
||||
if [ -f ~/.config/alacritty/alacritty.yml ]; then
|
||||
sed -i "s/^colors: [*].*/colors: *lupan-$THEME/" ~/.config/alacritty/alacritty.yml
|
||||
sed -i "s/^colors: [*].*/colors: *$THEME/" ~/.config/alacritty/alacritty.yml
|
||||
fi
|
||||
|
||||
# ST (patched)
|
||||
|
Loading…
x
Reference in New Issue
Block a user