mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
Add stuff
This commit is contained in:
parent
6db326ab7f
commit
c744349bca
11 changed files with 174 additions and 9 deletions
1
files/.config/fish/fish/config.fish
Symbolic link
1
files/.config/fish/fish/config.fish
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/6y0vwjy4bp38zlq8dwhallp7325cm8vi-home-manager-files/.config/fish/config.fish
|
34
files/.config/fish/fish/fish_variables
Normal file
34
files/.config/fish/fish/fish_variables
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR FZF_DEFAULT_COMMANDS:\x2d\x2dfilepath\x2dword\x20\x2d\x2dcycle
|
||||||
|
SETUVAR FZF_PREVIEW_FILE_CMD:head\x20\x2dn\x2010\x20\x7c\x20bat\x20\x2d\x2dcolor\x3dalways\x20\x2d\x2ddecorations\x3dnever
|
||||||
|
SETUVAR __fish_initialized:3100
|
||||||
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:005fd7
|
||||||
|
SETUVAR fish_color_comment:990000
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:009900
|
||||||
|
SETUVAR fish_color_error:ff0000
|
||||||
|
SETUVAR fish_color_escape:00a6b2
|
||||||
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_host:normal
|
||||||
|
SETUVAR fish_color_host_remote:yellow
|
||||||
|
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:00a6b2
|
||||||
|
SETUVAR fish_color_param:00afff
|
||||||
|
SETUVAR fish_color_quote:999900
|
||||||
|
SETUVAR fish_color_redirection:00afff
|
||||||
|
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:brgreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_greeting:\x1d
|
||||||
|
SETUVAR fish_key_bindings:fish_vi_key_bindings
|
||||||
|
SETUVAR fish_pager_color_completion:\x1d
|
||||||
|
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||||
|
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
|
@ -4,11 +4,11 @@ mode=5
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_0]
|
[xin_0]
|
||||||
file=/home/leon/Bilder/wallpapers/green_leaves.jpg
|
file=/home/leon/Bilder/wallpapers/1583955891537.jpg
|
||||||
mode=5
|
mode=5
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_1]
|
[xin_1]
|
||||||
file=/home/leon/Bilder/wallpapers/green_leaves.jpg
|
file=/home/leon/Bilder/wallpapers/1583955891537.jpg
|
||||||
mode=5
|
mode=5
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[geometry]
|
[geometry]
|
||||||
posx=20
|
posx=20
|
||||||
posy=50
|
posy=50
|
||||||
sizex=1297
|
sizex=2518
|
||||||
sizey=696
|
sizey=1008
|
||||||
|
|
||||||
[nitrogen]
|
[nitrogen]
|
||||||
view=icon
|
view=icon
|
||||||
|
|
|
@ -29,8 +29,9 @@ background = #ff282828
|
||||||
;background = #222
|
;background = #222
|
||||||
background-alt = #444
|
background-alt = #444
|
||||||
;foreground = ${xrdb:color7:#222}
|
;foreground = ${xrdb:color7:#222}
|
||||||
foreground = #fbf1c7
|
;foreground = #fbf1c7
|
||||||
foreground-alt = #ebdbb2
|
foreground-alt = #ebdbb2
|
||||||
|
foreground = #ebdbb2
|
||||||
primary = #ffb52a
|
primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
alert = #bd2c40
|
||||||
|
|
|
@ -205,7 +205,7 @@ myLayout = avoidStruts
|
||||||
||| (rename "Horizon" $ spacingAndGaps $ mouseResizableTileMirrored {draggerType = BordersDragger}))
|
||| (rename "Horizon" $ spacingAndGaps $ mouseResizableTileMirrored {draggerType = BordersDragger}))
|
||||||
|
|
||||||
rename n = renamed [Replace n]
|
rename n = renamed [Replace n]
|
||||||
spacingAndGaps = let gap = 10
|
spacingAndGaps = let gap = 20
|
||||||
border = Border gap gap gap gap
|
border = Border gap gap gap gap
|
||||||
in spacingRaw False border True border True
|
in spacingRaw False border True border True
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ myManageHook :: Query (Data.Monoid.Endo WindowSet)
|
||||||
myManageHook = composeAll
|
myManageHook = composeAll
|
||||||
[ resource =? "Dialog" --> ManageHelpers.doCenterFloat
|
[ resource =? "Dialog" --> ManageHelpers.doCenterFloat
|
||||||
, appName =? "pavucontrol" --> ManageHelpers.doCenterFloat
|
, appName =? "pavucontrol" --> ManageHelpers.doCenterFloat
|
||||||
, className =? "mpv" --> ManageHelpers.doRectFloat (W.RationalRect 0.9 0.9 0.1 0.1)
|
--, className =? "mpv" --> ManageHelpers.doRectFloat (W.RationalRect 0.9 0.9 0.1 0.1)
|
||||||
, title =? "Something" --> doFloat
|
, title =? "Something" --> doFloat
|
||||||
, className =? "termite_floating" --> ManageHelpers.doRectFloat(W.RationalRect 0.2 0.2 0.6 0.6)
|
, className =? "termite_floating" --> ManageHelpers.doRectFloat(W.RationalRect 0.2 0.2 0.6 0.6)
|
||||||
, className =? "bar_system_status_indicator" --> ManageHelpers.doRectFloat (W.RationalRect 0.7 0.05 0.29 0.26)
|
, className =? "bar_system_status_indicator" --> ManageHelpers.doRectFloat (W.RationalRect 0.7 0.05 0.29 0.26)
|
||||||
|
|
57
files/nix-stuff/nixpkgs/config/alacritty.nix
Normal file
57
files/nix-stuff/nixpkgs/config/alacritty.nix
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
window = {
|
||||||
|
padding.x = 20;
|
||||||
|
padding.y = 20;
|
||||||
|
dynamic_padding = true;
|
||||||
|
};
|
||||||
|
dynamic_title = true;
|
||||||
|
cursor = {
|
||||||
|
style = "Block";
|
||||||
|
unfocused_hollow = true;
|
||||||
|
};
|
||||||
|
shell = "/bin/fish";
|
||||||
|
mouse = {
|
||||||
|
double_click.threshold = 300;
|
||||||
|
triple_click.threshold = 300;
|
||||||
|
hide_when_typing = true;
|
||||||
|
url.launcher.program = "xdg-open";
|
||||||
|
};
|
||||||
|
|
||||||
|
background_opacity = 1;
|
||||||
|
fonts = {
|
||||||
|
size = 12;
|
||||||
|
normal.family = "Terminus (TTF)";
|
||||||
|
offset.x = 0;
|
||||||
|
offset.y = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
primary = {
|
||||||
|
background = "#282828";
|
||||||
|
foreground = "#ebdbb2";
|
||||||
|
};
|
||||||
|
normal = {
|
||||||
|
black = "#282828";
|
||||||
|
red = "#cc241d";
|
||||||
|
green = "#98971a";
|
||||||
|
yellow = "#d79921";
|
||||||
|
blue = "#458588";
|
||||||
|
magenta = "#b16286";
|
||||||
|
cyan = "#689d6a";
|
||||||
|
white = "#a89984";
|
||||||
|
};
|
||||||
|
bright = {
|
||||||
|
black = "#928374";
|
||||||
|
red = "#fb4934";
|
||||||
|
green = "#b8bb26";
|
||||||
|
yellow = "#fabd2f";
|
||||||
|
blue = "#83a598";
|
||||||
|
magenta = "#d3869b";
|
||||||
|
cyan = "#8ec07c";
|
||||||
|
white = "#ebdbb2";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
4
files/nix-stuff/nixpkgs/config/feh.nix
Normal file
4
files/nix-stuff/nixpkgs/config/feh.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
keybindings = { zoom_in = "plus"; zoom_out = "minus"; };
|
||||||
|
}
|
18
files/nix-stuff/nixpkgs/config/firefox.nix
Normal file
18
files/nix-stuff/nixpkgs/config/firefox.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
profiles.leon = {
|
||||||
|
isDefault = true;
|
||||||
|
name = "Main profile";
|
||||||
|
extraConfig = builtins.readFile /home/leon/desktop-dotfiles/files/firefoxChrome/chrome/userChrome.js;
|
||||||
|
userChrome = builtins.readFile /home/leon/desktop-dotfiles/files/firefoxChrome/chrome/userChrome.css;
|
||||||
|
userContent = builtins.readFile /home/leon/desktop-dotfiles/files/firefoxChrome/chrome/userContent.css;
|
||||||
|
settings = {
|
||||||
|
"browser.startup.homepage" = "file:///home/leon/.config/my_startpage/index.html";
|
||||||
|
"browser.search.region" = "DE";
|
||||||
|
"browser.search.isUS" = false;
|
||||||
|
"distribution.searchplugins.defaultLocale" = "de-DE";
|
||||||
|
"general.useragent.locale" = "de-DE";
|
||||||
|
"browser.bookmarks.showMobileBookmarks" = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,16 +3,62 @@ let
|
||||||
elkowar_local = import ./local/default.nix {};
|
elkowar_local = import ./local/default.nix {};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
elkowar_local.bashtop
|
elkowar_local.bashtop
|
||||||
pkgs.htop
|
pkgs.htop
|
||||||
pkgs.direnv
|
pkgs.direnv
|
||||||
pkgs.rnix-lsp
|
pkgs.rnix-lsp
|
||||||
pkgs.nix-prefetch-git
|
pkgs.nix-prefetch-git
|
||||||
|
pkgs.gtop
|
||||||
|
pkgs.simplescreenrecorder
|
||||||
|
pkgs.bat
|
||||||
|
pkgs.websocat
|
||||||
|
#pkgs.timg
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
programs = {
|
||||||
|
home-manager.enable = true;
|
||||||
|
#alacritty = import ./config/alacritty.nix; # <- https://github.com/guibou/nixGL
|
||||||
|
#firefox = import ./config/firefox.nix;
|
||||||
|
feh = import ./config/feh.nix;
|
||||||
|
lsd = {
|
||||||
|
enable = true;
|
||||||
|
enableAliases = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
mpv = {
|
||||||
|
enable = true;
|
||||||
|
bindings = {
|
||||||
|
WHEEL_UP = "add volume 5";
|
||||||
|
WHEEL_DOWN = "add volume -5";
|
||||||
|
WHEEL_LEFT = "seek -3";
|
||||||
|
WHEEL_RIGHT = "seek 3";
|
||||||
|
h = "seek -3";
|
||||||
|
l = "seek 3";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
defaultCommand = "rg --files";
|
||||||
|
fileWidgetCommand = "fd --type f";
|
||||||
|
changeDirWidgetCommand = "rg --files --null | xargs -0 dirname | sort -u";
|
||||||
|
};
|
||||||
|
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
#enableNixDirenvIntegration = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
kdeconnect.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
home.username = "leon";
|
home.username = "leon";
|
||||||
home.homeDirectory = "/home/leon";
|
home.homeDirectory = "/home/leon";
|
||||||
|
|
4
files/nix-stuff/nixpkgs/toys.nix
Normal file
4
files/nix-stuff/nixpkgs/toys.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = [pkgs.ytop pkgs.pscircle pkgs.asciiquarium pkgs.cmatrix ];
|
||||||
|
}
|
Loading…
Reference in a new issue