This commit is contained in:
elkowar 2020-08-09 13:42:22 +02:00
parent ddde3d6a24
commit 797e424adf
19 changed files with 6799 additions and 13 deletions

View file

@ -1,4 +1,10 @@
{ {
"optOut": false, "optOut": false,
"lastUpdateCheck": 1596100210650 "lastUpdateCheck": 1596968361979,
"update": {
"latest": "6.14.7",
"current": "6.14.6",
"type": "patch",
"name": "npm"
}
} }

View file

@ -1 +1 @@
/nix/store/sg6xd3ga2g2m7d8bm5519cllgjlnh2hx-home-manager-files/.config/htop/htoprc /nix/store/ajbv3kkxfjvs37gy8a3fibsbv8qhynla-home-manager-files/.config/htop/htoprc

View file

@ -1,7 +1,7 @@
[geometry] [geometry]
posx=30 posx=30
posy=1140 posy=1140
sizex=1232 sizex=1233
sizey=1348 sizey=1348
[nitrogen] [nitrogen]

View file

@ -28,10 +28,10 @@ instance Default RofiConfig where
def = RofiConfig { theme = smallTheme, caseInsensitive = True, fuzzy = True } def = RofiConfig { theme = smallTheme, caseInsensitive = True, fuzzy = True }
smallTheme :: String smallTheme :: String
smallTheme = "/home/leon/scripts/rofi/launcher_grid_style.rasi" smallTheme = "/home/leon/nixpkgs/config/rofi/launcher_grid_style.rasi"
bigTheme :: String bigTheme :: String
bigTheme = "/home/leon/scripts/rofi/launcher_grid_full_style.rasi" bigTheme = "/home/leon/nixpkgs/config/rofi/launcher_grid_full_style.rasi"
toArgList :: RofiConfig -> [String] toArgList :: RofiConfig -> [String]
toArgList RofiConfig {..} = concat toArgList RofiConfig {..} = concat

View file

@ -1,4 +1,4 @@
use: rofi -dmenu -i -theme /home/leon/scripts/rofi/default_theme.rasi use: rofi -dmenu -i
menu: set-redshift :: -no-custom menu: set-redshift :: -no-custom
off => redshift -x off => redshift -x

6755
files/gitlab_gruvbox.css Normal file

File diff suppressed because it is too large Load diff

View file

@ -12,8 +12,8 @@
padding.x = 20; padding.x = 20;
padding.y = 20; padding.y = 20;
dynamic_padding = true; dynamic_padding = true;
};
dynamic_title = true; dynamic_title = true;
};
cursor = { cursor = {
style = "Block"; style = "Block";
unfocused_hollow = true; unfocused_hollow = true;
@ -27,6 +27,14 @@
url.launcher.program = "xdg-open"; url.launcher.program = "xdg-open";
}; };
key_bindings = [
{
key = "N";
mods = "Control|Shift";
action = "SpawnNewInstance";
}
];
background_opacity = 1; background_opacity = 1;
font = { font = {
size = 12; size = 12;

View file

@ -2,8 +2,12 @@
{ {
enable = true; enable = true;
theme.name = "phocus"; theme.name = "phocus";
iconTheme.package = pkgs.papirus-icon-theme; #iconTheme.package = pkgs.papirus-icon-theme;
iconTheme.name = "papirus"; #iconTheme.name = "papirus";
#iconTheme.package = pkgs.numix-icon-theme;
#iconTheme.name = "Numix";
#iconTheme.package = pkgs.arc-icon-theme;
iconTheme.name = "Numix";
font.name = "Terminus (TTF) 12"; font.name = "Terminus (TTF) 12";
gtk2.extraConfig = ''gtk-theme-name = "Adwaita-dark"''; gtk2.extraConfig = ''gtk-theme-name = "Adwaita-dark"'';

View file

@ -0,0 +1,8 @@
{ myConf, pkgs ? import <nixpkgs> }:
{
enable = true;
package = pkgs.rofi.override { plugins = [ pkgs.rofi-emoji ]; };
theme = "/home/leon/nixpkgs/config/rofi/default_theme.rasi";
#theme = ./default_theme.rasi;
terminal = "${pkgs.alacritty}/bin/alacritty";
}

View file

@ -132,6 +132,11 @@ in
''; '';
initExtra = '' initExtra = ''
#export MANPAGER='nvim +Man! +"set nocul" +"set noshowcmd" +"set noruler" +"set noshowmode" +"set laststatus=2" +"set statusline=\ %t"'
export MANPAGER='nvim +Man! +"set nocul" +"set noshowcmd" +"set noruler" +"set noshowmode" +"set laststatus=0"'
setopt nobeep setopt nobeep
setopt HIST_IGNORE_ALL_DUPS setopt HIST_IGNORE_ALL_DUPS

View file

@ -46,7 +46,6 @@ in
mdcat mdcat
github-cli github-cli
tdesktop
#hyper-haskell #hyper-haskell
]; ];
@ -58,6 +57,7 @@ in
zsh = import ./config/zsh.nix { inherit pkgs; inherit myConf; }; zsh = import ./config/zsh.nix { inherit pkgs; inherit myConf; };
tmux = import ./config/tmux.nix { inherit pkgs; inherit myConf; }; tmux = import ./config/tmux.nix { inherit pkgs; inherit myConf; };
feh = import ./config/feh.nix; feh = import ./config/feh.nix;
rofi = import ./config/rofi { inherit pkgs; inherit myConf; };
htop.enable = true; htop.enable = true;

View file

@ -3,11 +3,11 @@
groups="$(ls "$HOME/scripts/bookmarks")\nauswahl" groups="$(ls "$HOME/scripts/bookmarks")\nauswahl"
group_selection=$(echo -e "$groups" | rofi -i -matching fuzzy -p open -dmenu -no-custom -theme /home/leon/scripts/rofi/default_theme.rasi ) group_selection=$(echo -e "$groups" | rofi -i -matching fuzzy -p open -dmenu -no-custom)
if [ "$group_selection" = "auswahl" ]; then if [ "$group_selection" = "auswahl" ]; then
auswahl "$(auswahl --list | rofi -dmenu -theme /home/leon/scripts/rofi/default_theme.rasi -i -no-custom)" auswahl "$(auswahl --list | rofi -dmenu -i -no-custom)"
else else
selection=$( cat "$HOME/scripts/bookmarks/$group_selection" | sed -r 's/^([^ ]*) .*$/\1/' | rofi -p open -matching fuzzy -dmenu -i -no-custom -theme /home/leon/scripts/rofi/default_theme.rasi ) selection=$( cat "$HOME/scripts/bookmarks/$group_selection" | sed -r 's/^([^ ]*) .*$/\1/' | rofi -p open -matching fuzzy -dmenu -i -no-custom)
[ -z "$selection" ] && exit 1 [ -z "$selection" ] && exit 1
cat "$HOME/scripts/bookmarks/$group_selection" | sed -n -r "s/^$selection (.*)$/\1/p" | bash cat "$HOME/scripts/bookmarks/$group_selection" | sed -n -r "s/^$selection (.*)$/\1/p" | bash