switch to lightdm, xsecurelock
This commit is contained in:
@@ -5,6 +5,9 @@ pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
bspc monitor DP-2 -d 1 2 3 4 5
|
||||
bspc monitor HDMI-0 -d 6 7 8 9 0
|
||||
|
||||
bspc config remove_disabled_monitors false
|
||||
bspc config remove_unplugged_monitors false
|
||||
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 12
|
||||
|
||||
@@ -17,6 +20,10 @@ bspc rule -a Nvidia-settings state=floating
|
||||
bspc rule -a openrgb state=floating
|
||||
bspc rule -a Sxiv state=floating
|
||||
|
||||
# start screen locker
|
||||
xset s 600 5
|
||||
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
||||
|
||||
pgrep -x dunst > /dev/null || dunst &
|
||||
|
||||
pgrep -x notify.sh > /dev/null || ~/.config/bspwm/scripts/notify.sh &
|
||||
|
@@ -88,7 +88,9 @@ fade-out-step = 0.15;
|
||||
# fade-delta = 10
|
||||
|
||||
# Specify a list of conditions of windows that should not be faded.
|
||||
# fade-exclude = []
|
||||
fade-exclude = [
|
||||
"class_g = 'xsecurelock'",
|
||||
];
|
||||
|
||||
# Do not fade on window open/close.
|
||||
# no-fading-openclose = false
|
||||
|
@@ -37,6 +37,9 @@ monitor = DP-2
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
scroll-up = bspc monitor -f DP-2 && bspc desktop -f prev.local
|
||||
scroll-down = bspc monitor -f DP-2 && bspc desktop -f next.local
|
||||
|
||||
line-size = 3pt
|
||||
|
||||
border-size = 0pt
|
||||
@@ -55,7 +58,7 @@ modules-center = date
|
||||
modules-right = music filesystem memory cpu wlan powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
; cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
@@ -78,6 +81,9 @@ monitor = HDMI-0
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
scroll-up = bspc monitor -f HDMI-0 && bspc desktop -f prev.local
|
||||
scroll-down = bspc monitor -f HDMI-0 && bspc desktop -f next.local
|
||||
|
||||
line-size = 3pt
|
||||
|
||||
border-size = 0pt
|
||||
@@ -96,7 +102,7 @@ modules-center = date
|
||||
modules-right = music filesystem memory cpu wlan powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
; cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
|
@@ -6,6 +6,8 @@ configuration {
|
||||
display-drun: " apps ";
|
||||
display-ssh: " ssh ";
|
||||
display-run: " run ";
|
||||
display-nerdfont: " nerd-font ";
|
||||
display-emoji: " emoji ";
|
||||
show-icons: true;
|
||||
drun-display-format: "{icon} {name}";
|
||||
sidebar-mode: true;
|
||||
|
@@ -38,7 +38,7 @@ icons[shutdown]="\Uf0425"
|
||||
icons[cancel]="\Uf0156"
|
||||
|
||||
declare -A actions
|
||||
actions[lockscreen]="slock"
|
||||
actions[lockscreen]="xset s activate"
|
||||
#actions[switchuser]="???"
|
||||
actions[logout]="loginctl terminate-session ${XDG_SESSION_ID-}"
|
||||
actions[suspend]="systemctl suspend"
|
||||
|
@@ -14,13 +14,17 @@ super + d
|
||||
super + v
|
||||
~/.config/rofi/scripts/vim-cheat.sh
|
||||
|
||||
# nerd font cheat sheet
|
||||
super + n
|
||||
~/.config/rofi/scripts/icon-picker.sh
|
||||
|
||||
# power menu
|
||||
super + p
|
||||
rofi -show p -modi p:'~/.config/rofi/scripts/rofi-power-menu --symbols-font "JetBrainsMonoNL Nerd Font Mono"' -font "JetBrainsMonoNL Nerd Font Mono" -monitor -1
|
||||
|
||||
# print screen
|
||||
Print
|
||||
path="$HOME/pictures/screenshots/$(date +"%s - %Y-%m-%d")" && maim "$path" && xclip -selection clipboard -t image/png "$path"
|
||||
path="$HOME/pictures/screenshots/$(date +"%s - %Y-%m-%d").png" && maim "$path" && xclip -selection clipboard -t image/png "$path"
|
||||
|
||||
shift + Print
|
||||
path="$HOME/pictures/screenshots/$(date +"%s - %Y-%m-%d").png" && maim -s "$path" && xclip -selection clipboard -t image/png "$path"
|
||||
|
@@ -6,7 +6,7 @@ here are the dotfiles and some of the programs i use for my bspwm setup. wip.
|
||||
### 🏗️ system
|
||||
- distro: [arch linux](https://archlinux.org)
|
||||
- wm: [bspwm](https://github.com/baskerville/bspwm) ([cheat sheet](https://gist.github.com/amit08255/43ed6efdc1952d88f9a61e86f375e924))
|
||||
- dm: [ly](https://github.com/fairyglade/ly)
|
||||
- dm: [lightdm](https://github.com/canonical/lightdm) with [mini-greeter](https://github.com/prikhi/lightdm-mini-greeter)
|
||||
- compositor: [picom](https://github.com/yshui/picom)
|
||||
- aur helper: [paru](https://github.com/Morganamilo/paru)
|
||||
- file manager: [nnn](https://github.com/jarun/nnn)
|
||||
|
Reference in New Issue
Block a user