.
This commit is contained in:
parent
4355e83743
commit
5023b32942
11 changed files with 155 additions and 103 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
SETUP
|
SETUP
|
||||||
-----
|
-----
|
||||||
|
|
||||||
do it in the order: BASICS, (if using laptop) POWER MANAGEMENT, SERVICES
|
do it in the order: BASICS, (if using laptop) POWER MANAGEMENT, SERVICES.
|
||||||
|
Follow the knowledge section in any order.
|
||||||
|
|
||||||
* SETUP
|
* SETUP
|
||||||
-----
|
-----
|
||||||
|
|
@ -36,15 +37,17 @@ do it in the order: BASICS, (if using laptop) POWER MANAGEMENT, SERVICES
|
||||||
it will fail for `tlp` if you skipped the POWER MANAGEMENT section but that's
|
it will fail for `tlp` if you skipped the POWER MANAGEMENT section but that's
|
||||||
fine.
|
fine.
|
||||||
|
|
||||||
knowledge
|
KNOWLEDGE
|
||||||
---------
|
---------
|
||||||
|
|
||||||
* recommended packages
|
* recommended packages
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
- tlp for power management
|
- tlp for power management
|
||||||
- meh for image viewing (not packaged)
|
- nsxiv for image viewing
|
||||||
- dooble for browser
|
- dooble for browser
|
||||||
|
- links for quick html rendering
|
||||||
|
- pcmanfm as a file manager
|
||||||
|
|
||||||
* non-packaged packages
|
* non-packaged packages
|
||||||
---------------------
|
---------------------
|
||||||
|
|
@ -8,6 +8,8 @@ logfile="$HOME/.dkrc.log"
|
||||||
[ -d "$HOME/.local/share/xorg" ] && logfile="$HOME/.local/share/xorg/dkrc.log"
|
[ -d "$HOME/.local/share/xorg" ] && logfile="$HOME/.local/share/xorg/dkrc.log"
|
||||||
: > "$logfile"
|
: > "$logfile"
|
||||||
|
|
||||||
|
date > "$logfile"
|
||||||
|
|
||||||
# load sxhkd for keybinds
|
# load sxhkd for keybinds
|
||||||
pgrep sxhkd || sxhkd -c "$HOME/.config/dk/sxhkdrc" &
|
pgrep sxhkd || sxhkd -c "$HOME/.config/dk/sxhkdrc" &
|
||||||
|
|
||||||
|
|
@ -35,42 +37,12 @@ fi
|
||||||
# workspace settings
|
# workspace settings
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
# initialize 6 workspaces (1-6) (default: 1/monitor)
|
# initialize 9 workspaces (1-9) (default: 1/monitor)
|
||||||
dkcmd set numws=9
|
dkcmd set numws=9
|
||||||
|
|
||||||
# default workspace '_' values used when allocating new workspaces
|
# default workspace '_' values used when allocating new workspaces
|
||||||
# can be applied to all existing workspaces when passed 'apply' after ws=_
|
# can be applied to all existing workspaces when passed 'apply' after ws=_
|
||||||
dkcmd set ws=_ apply layout=tile master=1 stack=3 gap=0 msplit=0.55 ssplit=0.5
|
dkcmd set ws=_ apply layout=tile master=1 stack=4 gap=5 msplit=0.55 ssplit=0.5
|
||||||
|
|
||||||
# use grid layout, padding, and gaps on last workspace
|
|
||||||
#dkcmd set ws=6 layout=grid pad left=200 right=200 top=100 bottom=100 gap=50
|
|
||||||
|
|
||||||
# change workspace names (default: number == name -> 1:1, 2:2, 3:3....)
|
|
||||||
# dkcmd set \
|
|
||||||
# ws=1 name="edit" \
|
|
||||||
# ws=2 name="web" \
|
|
||||||
# ws=3 name="😀" \
|
|
||||||
# ws=4 name="😠" \
|
|
||||||
# ws=5 name="5" \
|
|
||||||
# ws=6 name="6" \
|
|
||||||
|
|
||||||
# enable static workspaces assigned to monitors (relevant for multiple monitors)
|
|
||||||
# aside -
|
|
||||||
# If you come from this workspace model, try embracing the default behaviour
|
|
||||||
# and access to all workspaces from any monitor, you might end up liking it :)
|
|
||||||
#
|
|
||||||
# this could be done in the names section above if being used
|
|
||||||
#
|
|
||||||
# mon1='DisplayPort-0'
|
|
||||||
# mon2='HDMI-A-0'
|
|
||||||
# dkcmd set static_ws=true \
|
|
||||||
# ws=1 mon=$mon1 \
|
|
||||||
# ws=2 mon=$mon1 \
|
|
||||||
# ws=3 mon=$mon1 \
|
|
||||||
# ws=4 mon=$mon2 \
|
|
||||||
# ws=5 mon=$mon2 \
|
|
||||||
# ws=6 mon=$mon2 \
|
|
||||||
|
|
||||||
|
|
||||||
# global settings
|
# global settings
|
||||||
# ---------------------
|
# ---------------------
|
||||||
|
|
@ -88,7 +60,7 @@ fi
|
||||||
dkcmd set smart_gap=true smart_border=true
|
dkcmd set smart_gap=true smart_border=true
|
||||||
|
|
||||||
# define mouse mod and move/resize buttons
|
# define mouse mod and move/resize buttons
|
||||||
dkcmd set mouse mod=alt move=button1 resize=button3
|
dkcmd set mouse mod=super move=button1 resize=button3
|
||||||
|
|
||||||
# obey motif border hints on windows that draw their own (steam, easyeffects, etc.)
|
# obey motif border hints on windows that draw their own (steam, easyeffects, etc.)
|
||||||
dkcmd set obey_motif=true
|
dkcmd set obey_motif=true
|
||||||
|
|
@ -104,16 +76,23 @@ fi
|
||||||
# alternative
|
# alternative
|
||||||
# enable split borders and colours, width is overall width, outer_width consumes some of width.
|
# enable split borders and colours, width is overall width, outer_width consumes some of width.
|
||||||
# outer_width must be less than width, outer_width of 0 will be single borders
|
# outer_width must be less than width, outer_width of 0 will be single borders
|
||||||
|
#dkcmd set border width=$border_width outer_width=$border_outer_width \
|
||||||
|
# colour \
|
||||||
|
# focus='#6699cc' \
|
||||||
|
# unfocus='#444444' \
|
||||||
|
# urgent='#ee5555' \
|
||||||
|
# outer_focus='#222222' \
|
||||||
|
# outer_unfocus='#222222' \
|
||||||
|
# outer_urgent='#222222'
|
||||||
dkcmd set border width=$border_width outer_width=$border_outer_width \
|
dkcmd set border width=$border_width outer_width=$border_outer_width \
|
||||||
colour \
|
colour \
|
||||||
focus='#6699cc' \
|
focus='#fd0c0c' \
|
||||||
unfocus='#444444' \
|
unfocus='#0202cd' \
|
||||||
urgent='#ee5555' \
|
urgent='#ee5555' \
|
||||||
outer_focus='#222222' \
|
outer_focus='#222222' \
|
||||||
outer_unfocus='#222222' \
|
outer_unfocus='#222222' \
|
||||||
outer_urgent='#222222'
|
outer_urgent='#222222'
|
||||||
|
|
||||||
|
|
||||||
# window rules
|
# window rules
|
||||||
# --------------
|
# --------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
[general]
|
|
||||||
fontname=Spleen 12x24 Medium 12
|
|
||||||
selchars=-A-Za-z0-9,./?%&#:_
|
|
||||||
scrollback=1000
|
|
||||||
bgcolor=rgb(0,0,0)
|
|
||||||
fgcolor=rgb(246,245,244)
|
|
||||||
palette_color_0=rgb(0,0,0)
|
|
||||||
palette_color_1=rgb(170,0,0)
|
|
||||||
palette_color_2=rgb(0,170,0)
|
|
||||||
palette_color_3=rgb(170,85,0)
|
|
||||||
palette_color_4=rgb(0,0,170)
|
|
||||||
palette_color_5=rgb(170,0,170)
|
|
||||||
palette_color_6=rgb(0,170,170)
|
|
||||||
palette_color_7=rgb(170,170,170)
|
|
||||||
palette_color_8=rgb(85,85,85)
|
|
||||||
palette_color_9=rgb(255,85,85)
|
|
||||||
palette_color_10=rgb(85,255,85)
|
|
||||||
palette_color_11=rgb(255,255,85)
|
|
||||||
palette_color_12=rgb(85,85,255)
|
|
||||||
palette_color_13=rgb(255,85,255)
|
|
||||||
palette_color_14=rgb(85,255,255)
|
|
||||||
palette_color_15=rgb(255,255,255)
|
|
||||||
color_preset=Custom
|
|
||||||
disallowbold=false
|
|
||||||
boldbright=false
|
|
||||||
cursorblinks=false
|
|
||||||
cursorunderline=false
|
|
||||||
audiblebell=false
|
|
||||||
visualbell=false
|
|
||||||
tabpos=top
|
|
||||||
geometry_columns=80
|
|
||||||
geometry_rows=24
|
|
||||||
hidescrollbar=true
|
|
||||||
hidemenubar=true
|
|
||||||
hideclosebutton=false
|
|
||||||
hidepointer=false
|
|
||||||
disablef10=false
|
|
||||||
disablealt=false
|
|
||||||
disableconfirm=false
|
|
||||||
tabwidth=100
|
|
||||||
|
|
||||||
[shortcut]
|
|
||||||
new_window_accel=<Primary><Shift>n
|
|
||||||
new_tab_accel=<Primary><Shift>t
|
|
||||||
close_tab_accel=<Primary><Shift>w
|
|
||||||
close_window_accel=<Primary><Shift>q
|
|
||||||
copy_accel=<Primary><Shift>c
|
|
||||||
paste_accel=<Primary><Shift>v
|
|
||||||
name_tab_accel=<Primary><Shift>i
|
|
||||||
previous_tab_accel=<Primary>Page_Up
|
|
||||||
next_tab_accel=<Primary>Page_Down
|
|
||||||
move_tab_left_accel=<Primary><Shift>Page_Up
|
|
||||||
move_tab_right_accel=<Primary><Shift>Page_Down
|
|
||||||
zoom_in_accel=<Primary><Shift>plus
|
|
||||||
zoom_out_accel=<Primary><Shift>underscore
|
|
||||||
zoom_reset_accel=<Primary><Shift>parenright
|
|
||||||
1
files/.config/lxterminal/lxterminal.conf
Symbolic link
1
files/.config/lxterminal/lxterminal.conf
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/home/k/dots/files/dots/files/.config/lxterminal/lxterminal.conf
|
||||||
56
files/.config/lxterminal/lxterminal.conf.bak
Normal file
56
files/.config/lxterminal/lxterminal.conf.bak
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
[general]
|
||||||
|
fontname=Iosevka 12
|
||||||
|
selchars=-A-Za-z0-9,./?%&#:_
|
||||||
|
scrollback=1000
|
||||||
|
bgcolor=rgb(246,245,244)
|
||||||
|
fgcolor=rgb(0,0,0)
|
||||||
|
palette_color_0=rgb(0,0,0)
|
||||||
|
palette_color_1=rgb(170,0,0)
|
||||||
|
palette_color_2=rgb(0,170,0)
|
||||||
|
palette_color_3=rgb(170,85,0)
|
||||||
|
palette_color_4=rgb(0,0,170)
|
||||||
|
palette_color_5=rgb(170,0,170)
|
||||||
|
palette_color_6=rgb(0,170,170)
|
||||||
|
palette_color_7=rgb(170,170,170)
|
||||||
|
palette_color_8=rgb(85,85,85)
|
||||||
|
palette_color_9=rgb(255,85,85)
|
||||||
|
palette_color_10=rgb(85,255,85)
|
||||||
|
palette_color_11=rgb(255,255,85)
|
||||||
|
palette_color_12=rgb(85,85,255)
|
||||||
|
palette_color_13=rgb(255,85,255)
|
||||||
|
palette_color_14=rgb(85,255,255)
|
||||||
|
palette_color_15=rgb(255,255,255)
|
||||||
|
color_preset=Custom
|
||||||
|
disallowbold=false
|
||||||
|
boldbright=false
|
||||||
|
cursorblinks=false
|
||||||
|
cursorunderline=false
|
||||||
|
audiblebell=false
|
||||||
|
visualbell=false
|
||||||
|
tabpos=top
|
||||||
|
geometry_columns=80
|
||||||
|
geometry_rows=24
|
||||||
|
hidescrollbar=true
|
||||||
|
hidemenubar=true
|
||||||
|
hideclosebutton=false
|
||||||
|
hidepointer=false
|
||||||
|
disablef10=false
|
||||||
|
disablealt=false
|
||||||
|
disableconfirm=false
|
||||||
|
tabwidth=100
|
||||||
|
|
||||||
|
[shortcut]
|
||||||
|
new_window_accel=<Primary><Shift>n
|
||||||
|
new_tab_accel=<Primary><Shift>t
|
||||||
|
close_tab_accel=<Primary><Shift>w
|
||||||
|
close_window_accel=<Primary><Shift>q
|
||||||
|
copy_accel=<Primary><Shift>c
|
||||||
|
paste_accel=<Primary><Shift>v
|
||||||
|
name_tab_accel=<Primary><Shift>i
|
||||||
|
previous_tab_accel=<Primary>Page_Up
|
||||||
|
next_tab_accel=<Primary>Page_Down
|
||||||
|
move_tab_left_accel=<Primary><Shift>Page_Up
|
||||||
|
move_tab_right_accel=<Primary><Shift>Page_Down
|
||||||
|
zoom_in_accel=<Primary><Shift>plus
|
||||||
|
zoom_out_accel=<Primary><Shift>underscore
|
||||||
|
zoom_reset_accel=<Primary><Shift>parenright
|
||||||
Binary file not shown.
10
files/.local/bin/screenshot
Executable file
10
files/.local/bin/screenshot
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# takes a screenshot of the selected region
|
||||||
|
# and saves it to the clipboard
|
||||||
|
# requires: scrot xclip
|
||||||
|
set -e
|
||||||
|
|
||||||
|
output="${HOME}/ss.png"
|
||||||
|
rm -f "${output}"
|
||||||
|
scrot -s -p -F "${output}"
|
||||||
|
xclip "${output}" -t image/png -selection clipboard
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
sct 2500 &
|
sct 4000 &
|
||||||
setxkbmap de &
|
setxkbmap de &
|
||||||
|
xsetroot -solid '#3f3c6d' &
|
||||||
exec dbus-run-session dk
|
exec dbus-run-session dk
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ exists() {
|
||||||
}
|
}
|
||||||
|
|
||||||
grep 'l' <<< "$-" && \
|
grep 'l' <<< "$-" && \
|
||||||
exists swc-launch && \
|
test -f "$HOME/.xinitrc" && \
|
||||||
exists velox && \
|
|
||||||
test "$(tty)" = '/dev/tty1' && \
|
test "$(tty)" = '/dev/tty1' && \
|
||||||
exec env WLD_DRM_DUMB=1 swc-launch velox
|
exec startx
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,5 @@ sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us }
|
||||||
alias xi='xi -y'
|
alias xi='xi -y'
|
||||||
alias xr='doas xbps-remove -y'
|
alias xr='doas xbps-remove -y'
|
||||||
|
|
||||||
|
date
|
||||||
printf 'BAT %s%%\n' "$(cat /sys/class/power_supply/BAT0/capacity)"
|
printf 'BAT %s%%\n' "$(cat /sys/class/power_supply/BAT0/capacity)"
|
||||||
|
|
|
||||||
56
files/dots/files/.config/lxterminal/lxterminal.conf
Normal file
56
files/dots/files/.config/lxterminal/lxterminal.conf
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
[general]
|
||||||
|
fontname=Iosevka 12
|
||||||
|
selchars=-A-Za-z0-9,./?%&#:_
|
||||||
|
scrollback=1000
|
||||||
|
bgcolor=rgb(246,245,244)
|
||||||
|
fgcolor=rgb(0,0,0)
|
||||||
|
palette_color_0=rgb(0,0,0)
|
||||||
|
palette_color_1=rgb(170,0,0)
|
||||||
|
palette_color_2=rgb(0,170,0)
|
||||||
|
palette_color_3=rgb(170,85,0)
|
||||||
|
palette_color_4=rgb(0,0,170)
|
||||||
|
palette_color_5=rgb(170,0,170)
|
||||||
|
palette_color_6=rgb(0,170,170)
|
||||||
|
palette_color_7=rgb(170,170,170)
|
||||||
|
palette_color_8=rgb(85,85,85)
|
||||||
|
palette_color_9=rgb(255,85,85)
|
||||||
|
palette_color_10=rgb(85,255,85)
|
||||||
|
palette_color_11=rgb(255,255,85)
|
||||||
|
palette_color_12=rgb(85,85,255)
|
||||||
|
palette_color_13=rgb(255,85,255)
|
||||||
|
palette_color_14=rgb(85,255,255)
|
||||||
|
palette_color_15=rgb(255,255,255)
|
||||||
|
color_preset=Custom
|
||||||
|
disallowbold=false
|
||||||
|
boldbright=false
|
||||||
|
cursorblinks=false
|
||||||
|
cursorunderline=false
|
||||||
|
audiblebell=false
|
||||||
|
visualbell=false
|
||||||
|
tabpos=top
|
||||||
|
geometry_columns=80
|
||||||
|
geometry_rows=24
|
||||||
|
hidescrollbar=true
|
||||||
|
hidemenubar=true
|
||||||
|
hideclosebutton=false
|
||||||
|
hidepointer=false
|
||||||
|
disablef10=false
|
||||||
|
disablealt=false
|
||||||
|
disableconfirm=false
|
||||||
|
tabwidth=100
|
||||||
|
|
||||||
|
[shortcut]
|
||||||
|
new_window_accel=<Primary><Shift>n
|
||||||
|
new_tab_accel=<Primary><Shift>t
|
||||||
|
close_tab_accel=<Primary><Shift>w
|
||||||
|
close_window_accel=<Primary><Shift>q
|
||||||
|
copy_accel=<Primary><Shift>c
|
||||||
|
paste_accel=<Primary><Shift>v
|
||||||
|
name_tab_accel=<Primary><Shift>i
|
||||||
|
previous_tab_accel=<Primary>Page_Up
|
||||||
|
next_tab_accel=<Primary>Page_Down
|
||||||
|
move_tab_left_accel=<Primary><Shift>Page_Up
|
||||||
|
move_tab_right_accel=<Primary><Shift>Page_Down
|
||||||
|
zoom_in_accel=<Primary><Shift>plus
|
||||||
|
zoom_out_accel=<Primary><Shift>underscore
|
||||||
|
zoom_reset_accel=<Primary><Shift>parenright
|
||||||
10
pkgs.txt
10
pkgs.txt
|
|
@ -5,6 +5,8 @@ cage
|
||||||
chrony
|
chrony
|
||||||
dash-libedit
|
dash-libedit
|
||||||
dbus
|
dbus
|
||||||
|
dmenu
|
||||||
|
dk
|
||||||
fontconfig-devel
|
fontconfig-devel
|
||||||
fuse-sshfs
|
fuse-sshfs
|
||||||
fzy
|
fzy
|
||||||
|
|
@ -21,18 +23,18 @@ lxappearance
|
||||||
lxterminal
|
lxterminal
|
||||||
man-pages-devel
|
man-pages-devel
|
||||||
man-pages-posix
|
man-pages-posix
|
||||||
netsurf
|
|
||||||
opendoas
|
opendoas
|
||||||
ripgrep
|
ripgrep
|
||||||
|
sct
|
||||||
|
scrot
|
||||||
seatd
|
seatd
|
||||||
socklog-void
|
socklog-void
|
||||||
surf
|
surf
|
||||||
terminus-font
|
terminus-font
|
||||||
turnstile
|
turnstile
|
||||||
void-docs-browse
|
void-docs-browse
|
||||||
wayland-devel
|
xorg
|
||||||
wayland-protocols
|
xclip
|
||||||
xcb-util-wm-devel
|
|
||||||
xf86-video-intel
|
xf86-video-intel
|
||||||
xtools
|
xtools
|
||||||
zsh
|
zsh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue