this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

bspwm config for big monitor

+33 -19
+18 -1
home/profiles/cli/default.nix
··· 92 92 manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | fzf --preview="manix '{}'" | xargs manix 93 93 '') 94 94 (pkgs.writeScriptBin "monitor" '' 95 - # hotplug 96 95 connect() { 97 96 # Turn it on if it was off 98 97 xrandr --output HDMI-2 --auto 99 98 xrandr --output HDMI-2 --same-as eDP-1 99 + } 100 + 101 + disconnect() { 102 + xrandr --output HDMI-2 --off 103 + } 104 + 105 + xrandr | grep "HDMI-2 connected" &>>/dev/null && connect || disconnect 106 + '') 107 + (pkgs.writeScriptBin "big-monitor" '' 108 + connect() { 109 + # Turn it on if it was off 110 + xrandr --output HDMI-2 --auto --primary 111 + # Disable normal display 112 + xrandr --output eDP-1 --off 113 + # Use a nice background 114 + feh --bg-scale ~/Downloads/stephen-walker-onIXxjH56AA-unsplash.jpg 115 + # Reload Polybar 116 + ~/.config/bspwm/rc.d/polybar 100 117 } 101 118 102 119 disconnect() {
+2 -2
home/profiles/desktop/bspwmrc
··· 29 29 bspc config split_ratio 0.71 30 30 31 31 # Extra padding for polybar 32 - bspc config -m primary top_padding 34 33 - bspc config -m primary bottom_padding 0 32 + bspc config top_padding 34 33 + bspc config bottom_padding 0 34 34 35 35 # Rules 36 36 bspc rule -r '*'
+13 -16
hosts/profiles/desktop/default.nix
··· 1 1 { self, config, pkgs, lib, ... }: 2 2 let 3 3 tex = (pkgs.texlive.combine { 4 - inherit (pkgs.texlive) scheme-basic 5 - dvisvgm dvipng# for preview and export as html 4 + inherit (pkgs.texlive) 5 + scheme-basic dvisvgm dvipng # for preview and export as html 6 6 wrapfig amsmath ulem hyperref capt-of; 7 7 #(setq org-latex-compiler "lualatex") 8 8 #(setq org-preview-latex-default-process 'dvisvgm) ··· 13 13 rev = "502f212d83bc67e8f0499574546b99ec6c8e16f9"; 14 14 sha256 = "1wx9nzq7cqyvpaq4j60bs8g7gh4jk8qg4016yi4c331l4iw1ymsa"; 15 15 }; 16 - in 17 - { 16 + in { 18 17 # TODO modularize 19 - imports = [ 20 - ./battery-low-timer.nix 21 - ./cal-alarms.nix 22 - ]; 18 + imports = [ ./battery-low-timer.nix ./cal-alarms.nix ]; 23 19 24 20 # Secrets used by home-manager modules 25 21 age.secrets.fastmail.file = "${self}/secrets/fastmail.age"; ··· 29 25 age.secrets.mossnet.owner = "anish"; 30 26 31 27 # Taskwarrior private key 32 - age.secrets.taskwarrior-private.file = "${self}/secrets/taskwarrior-private.age"; 28 + age.secrets.taskwarrior-private.file = 29 + "${self}/secrets/taskwarrior-private.age"; 33 30 age.secrets.taskwarrior-private.owner = "anish"; 34 31 35 32 # We don't plug USBs into servers ··· 56 53 XDG_BIN_HOME = "\${HOME}/.local/bin"; 57 54 XDG_DATA_HOME = "\${HOME}/.local/share"; 58 55 59 - PATH = [ 60 - "\${XDG_BIN_HOME}" 61 - ]; 56 + PATH = [ "\${XDG_BIN_HOME}" ]; 62 57 }; 63 58 64 59 environment.systemPackages = with pkgs; [ 65 60 #unstable.sublime-music 66 - unstable.nheko 61 + # olm-3.2.16 is now insecure 62 + # some reason I can't set insecure packages that will be respected 63 + nheko 67 64 unstable.signal-desktop 68 65 unstable.tuba 69 66 unstable.newsflash ··· 148 145 #define bwht #CBCCC6 149 146 #define bg blk 150 147 #define fg wht 151 - 148 + 152 149 *.foreground: fg 153 150 *.background: bg 154 151 *.cursorColor: mag 155 - 152 + 156 153 *.color0: blk 157 154 *.color8: bblk 158 155 *.color1: red ··· 169 166 *.color14: bcyn 170 167 *.color7: wht 171 168 *.color15: bwht 172 - 169 + 173 170 ! greys 174 171 *.color234: #1E2029 175 172 *.color235: #282a36