mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 10:57:55 +00:00
49592d7f01
I also fixed the long-time occuring error when using the newest version of the channel (or the unstable one). It turns out to be a simple type error with the `my.user' attribute. (To be honest the error messages are quite horrible.) On another note, I also accidentally bricked my NixOS setup after a garbage collection and a horrible update. The breakage includes not being able to use any of the builtin tools of Nix (e.g., nix, nix-env, nixos-rebuild) due to a shared library error that has been garbage collected. Which means I have to reinstall it. (I seem to have a talent for breaking things, if only I'm paid for it.)
30 lines
731 B
Bash
Executable File
30 lines
731 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Starting all of the required programs.
|
|
pkill polybar || polybar "fds-bar" &
|
|
pkill feh || feh $HOME/.background-image
|
|
|
|
# Removing all rules at startup to prevent duplicating rules.
|
|
bspc rule -r "*"
|
|
|
|
# Set up the desktops (workspaces) for the monitor
|
|
bspc monitor -d I II III IV V
|
|
|
|
bspc config border_width 2
|
|
bspc config window_gap 9
|
|
|
|
bspc config split_ratio 0.50
|
|
bspc config borderless_monocle true
|
|
bspc config gapless_monocle true
|
|
bspc config focused_border_color "#88C0D0"
|
|
bspc config focus_follows_pointer true
|
|
|
|
# Set the default cursor to pointer
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
# Rules
|
|
bspc rule -a code-oss desktop=^2
|
|
bspc rule -a firefox desktop=^1
|
|
bspc rule -a Emacs state=tiled
|
|
|