Browse Source

dotfiles innit

master
Dustin Swan 4 years ago
parent
commit
92dc11d318
Signed by: dustinswan GPG Key ID: AB49BD6B2B3A6377
  1. 13
      home-linux.nix
  2. 33
      polybar

13
home-linux.nix

@ -1,7 +1,7 @@
{ pkgs, lib, ... }:
{
home.packages = with pkgs; [ clipit ncmpcpp pandoc unzip wirelesstools xcape xsel anki pavucontrol blueman gifsicle networkmanager paprefs steam pinentry vlc nitrogen wine yarn spotify signal-desktop ispell google-chrome emacs-all-the-icons-fonts python3 python37Packages.pip veracrypt bashmount exfat exfat-utils neomutt i3lock-pixeled p4v killall calc cargo cava diceware magic-wormhole xorg.xmodmap zip cacert dropbox-cli keepassx2 wireshark-qt vdirsyncer slack riot-web retroarch gimp blender khal khard mpv
home.packages = with pkgs; [ clipit ncmpcpp pandoc unzip wirelesstools xcape xsel anki pavucontrol blueman gifsicle networkmanager paprefs steam pinentry vlc nitrogen wine yarn spotify signal-desktop ispell google-chrome emacs-all-the-icons-fonts python3 python37Packages.pip veracrypt bashmount exfat exfat-utils neomutt i3lock-pixeled p4v killall calc cargo cava diceware magic-wormhole xorg.xmodmap zip cacert dropbox-cli keepassx2 wireshark-qt vdirsyncer slack riot-web retroarch gimp blender khal khard
];
services.mpd = {
@ -101,8 +101,9 @@
services.blueman-applet.enable = true;
services.emacs.enable = true;
programs.gpg.enable = true;
programs.feh.enable = true;
programs.mpv.enable = true;
# programs.htop.enable = true;
# programs.jq.enable = true;
programs.vscode.enable = true;
@ -153,8 +154,8 @@
window = {
border = 0;
commands = [
{ criteria = { class = "mpv"; }; command = "floating enable, move absolute position center"; }
{ criteria = { class = "feh"; }; command = "floating enable, move absolute position center"; }
# { criteria = { class = "mpv"; }; command = "floating enable, move absolute position center"; }
# { criteria = { class = "feh"; }; command = "floating enable, move absolute position center"; }
];
};
bars = [];
@ -169,6 +170,10 @@
"${mod}+Ctrl+Mod1+t" = "exec alacritty";
"${mod}+Ctrl+Mod1+e" = "exec \"emacsclient -c\"";
"${mod}+Ctrl+Mod1+b" = "exec firefox";
"${mod}+Ctrl+Mod1+1" = "exec \"cvlc rtsp://viewer:rockwall1@192.168.1.30/stream0\"";
"${mod}+Ctrl+Mod1+2" = "exec \"cvlc rtsp://viewer:rockwall1@192.168.1.31/stream0\"";
"${mod}+Ctrl+Mod1+3" = "exec \"cvlc rtsp://viewer:rockwall1@192.168.1.32/stream0\"";
"${mod}+h" = "focus left";
"${mod}+j" = "focus down";
"${mod}+k" = "focus up";

33
polybar

@ -115,7 +115,7 @@ label-visible-padding = 2
[module/cpu]
type = internal/cpu
interval = 0.5
;interval = 1.0
format = <label> <ramp-coreload>
label = CPU %percentage%%
@ -143,20 +143,25 @@ date-alt =  %%{F#fff}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F
[module/memory]
type = internal/memory
format = <label> <bar-used>
format = <label> <ramp-used>
label = RAM %percentage_used%%
bar-used-width = 8
bar-used-foreground-0 = #aaff77
bar-used-foreground-1 = #aaff77
bar-used-foreground-2 = #fba922
bar-used-foreground-3 = #ff5555
;bar-used-indicator = ┼
bar-used-indicator = ┤
bar-used-indicator-foreground = #ff
bar-used-fill = ─
bar-used-empty = ─
bar-used-empty-foreground = #444444
ramp-used-0 = ▁
ramp-used-0-foreground = #aaff77
ramp-used-1 = ▂
ramp-used-1-foreground = #aaff77
ramp-used-2 = ▃
ramp-used-2-foreground = #aaff77
ramp-used-3 = ▄
ramp-used-3-foreground = #aaff77
ramp-used-4 = ▅
ramp-used-4-foreground = #fba922
ramp-used-5 = ▆
ramp-used-5-foreground = #fba922
ramp-used-6 = ▇
ramp-used-6-foreground = #ff5555
ramp-used-7 = █
ramp-used-7-foreground = #ff5555
[module/mpd]
type = internal/mpd
@ -173,7 +178,7 @@ icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 25
bar-progress-width = 15
bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
bar-progress-indicator = ┼
bar-progress-indicator-foreground = #ff

Loading…
Cancel
Save