Move to sx instead of startx

This commit is contained in:
davidovski 2023-07-11 15:28:11 +01:00
parent afda5cf53f
commit b85872dfc9
103 changed files with 767 additions and 67 deletions

View file

@ -5,7 +5,7 @@
! #define spacing -2
#define font1 xft:mononoki:minispace=False:size=10:antialias=true
#define spacing 1
#define spacing 2
#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
#define font3 xft:Noto Sans Mono CJK TC:minispace=False:size=10
@ -55,7 +55,7 @@ dzen2.font: mononoki
! Set depth to make transparency work.
URxvt*depth: 32
*.font: font1
*.font: font1,font2,font3,font4
URxvt.font: font1,font2,font3,font4
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4

View file

@ -11,7 +11,7 @@ xsetroot -cursor_name left_ptr &
xrdb ~/.Xdefaults
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
#pgrep -x picom > /dev/null || picom &
pgrep -x xss-lock > /dev/null || xss-lock slock &
#pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &

View file

@ -1,3 +1,4 @@
file:///home/david/docs/lmms
file:///home/x/pics/screenshot
file:///home/david/hd1/important
file:///home/david/docs docs

View file

@ -40,7 +40,7 @@ modules-right = time
[bar/ws]
inherit = bar/base
width = 1870
width = 2510
offset-x = 25
offset-y = 10
modules-left = workspaces xwindow
@ -153,7 +153,7 @@ format-prefix-foreground = #5b
[module/temperature]
type = custom/script
exec = sensors | awk '/^Core 0:/ { print substr($3, 2) }'
exec = sensors | awk '/^Tctl:/ { print substr($2, 2) }'
format-prefix = " "
interval = 1

4
config/sx/sxrc Executable file
View file

@ -0,0 +1,4 @@
xrdb ~/.config/Xdefaults
setxkbmap -option caps:none
exec bspwm

View file

@ -50,6 +50,7 @@ Plug 'preservim/vim-markdown'
Plug 'neoclide/coc.nvim'
hi CocInlayHint ctermbg=Black ctermfg=Gray
set updatetime=300
set signcolumn=yes

View file

@ -1,6 +1,6 @@
#!/bin/sh
configurations="iocane bg bg.gif bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi user-dirs.dirs gtk-3.0 zathura"
configurations="iocane bg bg.gif bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi user-dirs.dirs gtk-3.0 zathura sx"
save () {
@ -15,8 +15,7 @@ save () {
cp $HOME/.profile profile
cp $HOME/.mkshrc mkshrc
cp $HOME/.sh_aliases sh_aliases
cp $HOME/.Xdefaults Xdefaults
cp $HOME/.xinitrc xinitrc
cp $HOME/.config/Xdefaults Xdefaults
mkdir -p fonts/TTF
cp -r $HOME/.fonts/ttf-mononoki fonts/
@ -59,8 +58,7 @@ load () {
cp mkshrc $HOME/.mkshrc
cp sh_aliases $HOME/.sh_aliases
cp Xdefaults $HOME/.Xdefaults
cp xinitrc $HOME/.xinitrc
cp Xdefaults $HOME/.config/Xdefaults
cp profile $HOME/.profile
mkdir -p $HOME/.fonts

View file

@ -1,2 +0,0 @@
[Icon Theme]
Inherits=pixelfun3

View file

@ -1 +0,0 @@
v_double_arrow

View file

@ -1 +0,0 @@
h_double_arrow

View file

@ -1 +0,0 @@
crossed_circle

View file

@ -1 +0,0 @@
left_ptr_watch

View file

@ -1 +0,0 @@
copy

View file

@ -1 +0,0 @@
sb_h_double_arrow

View file

@ -1 +0,0 @@
sb_v_double_arrow

View file

@ -1 +0,0 @@
link

View file

@ -1 +0,0 @@
left_ptr_watch

View file

@ -1 +0,0 @@
move

View file

@ -1 +0,0 @@
question_arrow

View file

@ -1 +0,0 @@
copy

View file

@ -1 +0,0 @@
link

View file

@ -1 +0,0 @@
move

View file

@ -1 +0,0 @@
hand2

View file

@ -1 +0,0 @@
crossed_circle

View file

@ -1 +0,0 @@
left_ptr

View file

@ -1 +0,0 @@
top_left_corner

View file

@ -1 +0,0 @@
top_right_corner

View file

@ -1 +0,0 @@
top_left_corner

View file

@ -1 +0,0 @@
top_side

Binary file not shown.

View file

@ -1 +0,0 @@
bd_double_arrow

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
cross

Binary file not shown.

View file

@ -1 +0,0 @@
cross

View file

@ -1 +0,0 @@
question_arrow

View file

@ -1 +0,0 @@
cross

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
dotbox

Binary file not shown.

View file

@ -1 +0,0 @@
sb_v_double_arrow

View file

@ -1 +0,0 @@
right_ptr

View file

@ -1 +0,0 @@
right_ptr

View file

@ -1 +0,0 @@
dotbox

View file

@ -1 +0,0 @@
hand2

View file

@ -1 +0,0 @@
fd_double_arrow

View file

@ -1 +0,0 @@
top_right_corner

View file

@ -1 +0,0 @@
grabbing

Binary file not shown.

View file

@ -1 +0,0 @@
sb_h_double_arrow

View file

@ -1 +0,0 @@
hand2

View file

@ -1 +0,0 @@
hand2

Binary file not shown.

View file

@ -1 +0,0 @@
question_arrow

View file

@ -1 +0,0 @@
dotbox

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
X_cursor

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
left_side

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
left_side

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
top_side

View file

@ -1 +0,0 @@
dotbox

View file

@ -1 +0,0 @@
cross

View file

@ -1 +0,0 @@
left_ptr

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
sb_v_double_arrow

Binary file not shown.

Binary file not shown.

View file

@ -1,3 +0,0 @@
[Icon Theme]
Name=pixelfun3
Comment=Good white modern-looking theme with a piece of nostalgia

View file

@ -14,5 +14,5 @@ export FILE_MANAGER="/usr/bin/thunar"
export EMAIL_CLIENT="/usr/bin/thunderbird"
export EDITOR="/usr/bin/vim"
[ "$(fgconsole 2>/dev/null)" = "1" ] && exec startx -- vt1 &> /dev/null
export XINITRC="$HOME/.config/sx/sxrc"
[ "$(fgconsole 2>/dev/null)" = "1" ] && exec sx

View file

@ -15,5 +15,5 @@ case $1 in
;;
esac
ddcutil --bus=12 setvcp 60 ${OUT[0]} &
ddcutil --bus=13 setvcp 60 ${OUT[0]} &
wait

8
scripts/iommu.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci $@ -nns ${d##*/})"
done;
done;

Some files were not shown because too many files have changed in this diff Show more