initial commit
This commit is contained in:
33
home/programs/bspwm/bspwmrc
Normal file
33
home/programs/bspwm/bspwmrc
Normal file
@@ -0,0 +1,33 @@
|
||||
#! /bin/sh
|
||||
# ██████╗ ███████╗██████╗ ██╗ ██╗███╗ ███?
|
||||
# ██╔══██╗██╔════╝██╔══██╗██║ ██║████╗ ████║
|
||||
# ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║
|
||||
# ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║
|
||||
# ██████╔╝███████║██║ ╚███╔███╔╝██║ ╚═╝ ██║
|
||||
# ╚═════╝ ╚══════╝╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
xrandr --output eDP-1 --mode 1920x1080 --primary
|
||||
# xrandr --output HDMI-1 --mode 1920x1080 --same-as eDP-1 --scale 1x1
|
||||
|
||||
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 2
|
||||
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
# bspc config merge_overlapping_monitors true
|
||||
bspc rule -a Zathura state=tiled
|
||||
bspc rule -a "Zotero" -o desktop="19" focus=off
|
||||
|
||||
bspc rule -a Gimp desktop='^8' state=floating follow=on
|
||||
bspc rule -a Chromium desktop='^2'
|
||||
bspc rule -a mplayer2 state=floating
|
||||
bspc rule -a Kupfer.py focus=on
|
||||
bspc rule -a Screenkey manage=off
|
||||
nitrogen --restore &
|
||||
# polybar mybar &
|
||||
# picom --daemon 2> /dev/null &
|
||||
17
home/programs/bspwm/default.nix
Normal file
17
home/programs/bspwm/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
xsession.windowManager.bspwm = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./bspwmrc;
|
||||
};
|
||||
|
||||
# home.file.".config/bspwm/bspwmrc".source = ./bspwmrc;
|
||||
|
||||
# home.activation.sourceMyScript = lib.mkAfter ''
|
||||
# source "${config.xdg.configHome}/bspwm/bspwmrc"
|
||||
# '';
|
||||
}
|
||||
Reference in New Issue
Block a user