mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 12:19:08 +00:00
![Gabriel Arazas](/assets/img/avatar_default.png)
This commit includes a bunch of minor updates of some Nix modules but the focus here is the update of the theme template. The renaming of the Cookiecutter template will now make backups and migration between different filesystems very easy especially with NTFS-based filesystems often found on external hard drives.
31 lines
775 B
Bash
Executable File
31 lines
775 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Open all of the programs needed.
|
|
pkill polybar; polybar "fds-bar" &
|
|
pkill feh; feh --bg-fill $HOME/.background-image
|
|
pkill dunst; dunst &
|
|
|
|
# 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 "{{ cookiecutter.colors.color6 }}"
|
|
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
|
|
|