archived old stuff;new layout
This commit is contained in:
58
2022-archive/void/bspwm/bspwmrc
Executable file
58
2022-archive/void/bspwm/bspwmrc
Executable file
@ -0,0 +1,58 @@
|
||||
#! /bin/sh
|
||||
# ________
|
||||
# | _____ \
|
||||
# | | _/ / Pim Nelissen
|
||||
# | | /__/ https://pim.wtf/
|
||||
# | |
|
||||
# \_|
|
||||
|
||||
# bspwm configuation file.
|
||||
|
||||
# Enable sxhkd keybindings.
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
# Launch polybar.
|
||||
$HOME/.config/polybar/launch.sh
|
||||
|
||||
# Set wallpaper.
|
||||
feh --bg-fill $HOME/Pictures/Wallpapers/Forest.png
|
||||
picom -b &
|
||||
|
||||
# Load BT & Network tray applets.
|
||||
blueman-manager &
|
||||
nm-applet &
|
||||
|
||||
# Load applications which require X server & WM to have launched.
|
||||
nextcloud --background &
|
||||
redshift &
|
||||
|
||||
# Set up 8 bspwm workspaces.
|
||||
bspc monitor -d I II III IV V VI VII VIII
|
||||
|
||||
# Borders, gaps and padding to fit polybar.
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 15
|
||||
bspc config top_padding 50
|
||||
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
|
||||
bspc config pointer_modifier mod4
|
||||
bspc config pointer_action1 move
|
||||
bspc config pointer_action2 resize_side
|
||||
bspc config pointer_action2 resize_corner
|
||||
|
||||
# bspwm window rules for applications.
|
||||
bspc rule -a Gimp desktop='^8' state=floating follow=on
|
||||
bspc rule -a Pavucontrol state=floating
|
||||
bspc rule -a Lxappearance state=floating
|
||||
bspc rule -a blueman-manager state=floating
|
||||
bspc rule -a virt-manager state=floating
|
||||
bspc rule -a Nextcloud state=floating
|
||||
bspc rule -a Galculator state=floating
|
||||
bspc rule -a Zathura state=tiled
|
||||
bspc rule -a Emacs state=tiled
|
||||
|
||||
bspc config normal_border_color "#34494c"
|
||||
bspc config focused_border_color "#8aa9a1"
|
33
2022-archive/void/kitty/kitty.conf
Normal file
33
2022-archive/void/kitty/kitty.conf
Normal file
@ -0,0 +1,33 @@
|
||||
font_family RobotoMono
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
font_size 14.0
|
||||
|
||||
|
||||
background #101e1f
|
||||
foreground #aacac1
|
||||
cursor #cccccc
|
||||
selection_background #e96153
|
||||
selection_foreground #101e1f
|
||||
|
||||
color0 #242426
|
||||
color8 #34494c
|
||||
color1 #f8501a
|
||||
color9 #f64319
|
||||
color2 #3d7155
|
||||
color10 #74eb4c
|
||||
color3 #f9761d
|
||||
color11 #fcc224
|
||||
color4 #2c70b7
|
||||
color12 #3393c9
|
||||
color5 #f02d4e
|
||||
color13 #e75e4e
|
||||
color6 #3ba0a5
|
||||
color14 #4ebce5
|
||||
color7 #8aa9a1
|
||||
color15 #8b735a
|
||||
|
||||
# vim:fileencoding=utf-8:ft=conf
|
||||
|
39
2022-archive/void/picom/picom.conf
Normal file
39
2022-archive/void/picom/picom.conf
Normal file
@ -0,0 +1,39 @@
|
||||
# ________
|
||||
# | _____ \
|
||||
# | | _/ / Pim Nelissen
|
||||
# | | /__/ https://pim.wtf/
|
||||
# | |
|
||||
# \_|
|
||||
|
||||
# Picom config.
|
||||
|
||||
# Main settings.
|
||||
backend = "glx";
|
||||
experimental-backends = true;
|
||||
vsync = true;
|
||||
|
||||
# Opacity and dimming.
|
||||
active-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
frame-opacity = 1.0;
|
||||
opacity = 1.0
|
||||
inactive-opacity-override = false
|
||||
inactive-dim = 0.0
|
||||
inactive-dim-fixed = 1.0
|
||||
focus-exclude = []
|
||||
|
||||
# Shadows
|
||||
shadow = true;
|
||||
shadow-opacity = 0.8;
|
||||
shadow-radius = 20;
|
||||
shadow-offset-x = -20;
|
||||
shadow-offset-y = -20;
|
||||
|
||||
wintypes:
|
||||
{
|
||||
normal = { fade = false; shadow = true; }
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 0.9; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
};
|
1
2022-archive/void/rofi/config.rasi
Normal file
1
2022-archive/void/rofi/config.rasi
Normal file
@ -0,0 +1 @@
|
||||
@theme "~/.config/rofi/themes/mytheme.rasi"
|
77
2022-archive/void/rofi/themes/mytheme.rasi
Normal file
77
2022-archive/void/rofi/themes/mytheme.rasi
Normal file
@ -0,0 +1,77 @@
|
||||
* {
|
||||
font: "RobotoMono 12";
|
||||
|
||||
col0: #101e1f;
|
||||
col1: #8aa9a1;
|
||||
|
||||
background-color: @col0;
|
||||
text-color: @col1;
|
||||
accent-color: @col1;
|
||||
|
||||
margin: 4px 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @col0;
|
||||
border-color: @accent-color;
|
||||
|
||||
location: center;
|
||||
width: 440px;
|
||||
y-offset: -220px;
|
||||
border: 2px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 8px 8px;
|
||||
spacing: 8px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-text, element-icon {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @col0;
|
||||
background-color: @col1;
|
||||
}
|
||||
|
||||
element selected normal {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected active {
|
||||
background-color: @col1;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.75em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
167
2022-archive/void/sxhkd/sxhkdrc
Normal file
167
2022-archive/void/sxhkd/sxhkdrc
Normal file
@ -0,0 +1,167 @@
|
||||
# ________
|
||||
# | _____ \
|
||||
# | | _/ / Pim Nelissen
|
||||
# | | /__/ https://pim.wtf/
|
||||
# | |
|
||||
# \_|
|
||||
|
||||
# sxhkd keybindings configuration.
|
||||
|
||||
# lock screen
|
||||
super + grave
|
||||
betterlockscreen -l dim
|
||||
|
||||
# full screen printscreen
|
||||
Print
|
||||
flameshot full
|
||||
|
||||
# selector printscreen
|
||||
super + Print
|
||||
flameshot gui
|
||||
|
||||
# terminal emulator
|
||||
super + Return
|
||||
kitty
|
||||
|
||||
# program launcher
|
||||
super + @space
|
||||
rofi -show drun
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
super + alt + p
|
||||
~/scripts/picom_toggle
|
||||
|
||||
# Calc
|
||||
XF86Calculator
|
||||
galculator
|
||||
|
||||
# Volume Controls
|
||||
XF86AudioMute
|
||||
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
XF86AudioLowerVolume
|
||||
pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
|
||||
XF86AudioRaiseVolume
|
||||
pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
|
||||
XF86MonBrightnessUp
|
||||
brightnessctl set +5%
|
||||
|
||||
XF86MonBrightnessDown
|
||||
brightnessctl set 5%-
|
||||
|
||||
# Open pcmanfm
|
||||
super + r
|
||||
pcmanfm
|
||||
|
||||
super + p
|
||||
/opt/Pomatez/pomatez %U
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
||||
# quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
# close and kill
|
||||
super + {_,shift + }w
|
||||
bspc node -{c,k}
|
||||
|
||||
# alternate between the tiled and monocle layout
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
# send the newest marked node to the newest preselected node
|
||||
super + y
|
||||
bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
# swap the current node and the biggest window
|
||||
super + g
|
||||
bspc node -s biggest.window
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
|
||||
# set the window state
|
||||
super + {t,shift + t,s,f}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
|
||||
# set the node flags
|
||||
super + ctrl + {m,x,y,z}
|
||||
bspc node -g {marked,locked,sticky,private}
|
||||
|
||||
#
|
||||
# focus/swap
|
||||
#
|
||||
|
||||
# focus the node in the given direction
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
# focus the node for the given path jump
|
||||
super + {p,b,comma,period}
|
||||
bspc node -f @{parent,brother,first,second}
|
||||
|
||||
# focus the next/previous window in the current desktop
|
||||
super + {_,shift + }c
|
||||
bspc node -f {next,prev}.local.!hidden.window
|
||||
|
||||
# focus the next/previous desktop in the current monitor
|
||||
super + bracket{left,right}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last node
|
||||
super + Tab
|
||||
bspc node -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
super + {o,i}
|
||||
bspc wm -h off; \
|
||||
bspc node {older,newer} -f; \
|
||||
bspc wm -h on
|
||||
|
||||
# focus or send to the given desktop
|
||||
super + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||
|
||||
#
|
||||
# preselect
|
||||
#
|
||||
|
||||
# preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
super + ctrl + {1-9}
|
||||
bspc node -o 0.{1-9}
|
||||
|
||||
# cancel the preselection for the focused node
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
|
||||
# cancel the preselection for the focused desktop
|
||||
super + ctrl + shift + space
|
||||
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
||||
|
||||
#
|
||||
# move/resize
|
||||
#
|
||||
|
||||
# expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
Reference in New Issue
Block a user