@@ -4,17 +4,17 @@ bspc monitor -d 0 1 2 3 4 5 6 7 8 9 | |||
bspc config border_width 1 | |||
bspc config window_gap 3 | |||
bspc config split_ratio 0.5 | |||
bspc config removal_adjustment longest_side | |||
bspc config removal_adjustment false | |||
bspc config borderless_monocle true | |||
bspc config gapless_monocle true | |||
bspc config focus_follows_pointer true | |||
bspc config click_to_focus button1 | |||
bspc rule -a Firefox desktop='^2' | |||
bspc rule -a Firefox desktop=^2 | |||
bspc rule -a mpv state=floating | |||
bspc rule -a Peek state=floating | |||
bspc rule -a kittyfloat state=floating | |||
bspc rule -a TelegramDesktop desktop='^3' | |||
bspc rule -a Hexchat desktop='^3' | |||
bspc rule -a Ripcord desktop='^3' | |||
bspc rule -a Steam desktop='^4' | |||
bspc rule -a TelegramDesktop desktop=^3 | |||
bspc rule -a Hexchat desktop=^3 | |||
bspc rule -a Ripcord desktop=^3 | |||
bspc rule -a Steam desktop=^4 |
@@ -2,7 +2,7 @@ from macros import error | |||
type Compiler = enum gcc = "gcc", clang = "clang" | |||
switch "styleCheck", "hint" | |||
const is199 = (NimMajor, NimMinor, NimPatch) >= (0, 19, 9) | |||
proc setCompiler(s: string, compiler = gcc, cpp = false) = | |||
let c = findExe s | |||
@@ -34,11 +34,15 @@ when defined(musl): | |||
setCompiler "x86_64-linux-musl-gcc" | |||
switch "passL", "-static" | |||
when is199: | |||
switch "styleCheck", "hint" | |||
when defined(release): | |||
switch "nimcache", "/tmp/nim/" & projectName() & "_r" | |||
when is199: | |||
switch "nimcache", "/tmp/nim/" & projectName() & "_r" | |||
switch "passC", "-flto" | |||
switch "passL", "-s" | |||
else: | |||
elif is199: | |||
switch "nimcache", "/tmp/nim/" & projectName() & "_d" | |||
when defined(hotcodereloading): |
@@ -0,0 +1,2 @@ | |||
allow-module-loading = no | |||
use-pid-file = no |
@@ -0,0 +1,9 @@ | |||
#!/usr/bin/pulseaudio -nF | |||
.fail | |||
load-module module-alsa-sink | |||
load-module module-alsa-source | |||
load-module module-null-sink | |||
load-module module-always-sink | |||
load-module module-native-protocol-unix auth-cookie-enabled=0 | |||
load-module module-suspend-on-idle |
@@ -33,6 +33,7 @@ zathura | |||
neofetch | |||
gtk | |||
user-dirs | |||
pulse | |||
fontconfig' | |||
} | |||
@@ -124,6 +125,9 @@ for arg; do | |||
_install $arg/settings.ini "$CONF/gtk-3.0/settings.ini";; | |||
user-dirs) | |||
_install $arg "$CONF/user-dirs.dirs";; | |||
pulse) | |||
_install $arg/default.pa "$CONF/pulse/default.pa" | |||
_install $arg/daemon.conf "$CONF/pulse/daemon.conf";; | |||
fontconfig) | |||
_install $arg "$CONF/fontconfig/fonts.conf";; | |||
*) |