Better snapper + various fixes
This commit is contained in:
parent
98e4871193
commit
30efa48b7d
14 changed files with 237 additions and 54 deletions
97
configs/kak/colors/nord.kak
Normal file
97
configs/kak/colors/nord.kak
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
# text
|
||||
# set-face global title rgb:bac5d8,default+b
|
||||
# set-face global header rgb:e6e6e6,default
|
||||
# set-face global bold rgb:e6e6e6,default+b
|
||||
# set-face global italic rgb:d6d6d6,default+i
|
||||
# set-face global mono rgb:b8b8b8,rgb:1f1f1f
|
||||
# set-face global block rgb:b8b8b8,rgb:1f1f1f
|
||||
# set-face global link rgb:e6e6e6,default
|
||||
# set-face global bullet rgb:e6e6e6,default
|
||||
# set-face global list rgb:c7c7c7,default
|
||||
|
||||
set-face global value rgb:b48ead,default
|
||||
set-face global type rgb:8fbcbb,default
|
||||
set-face global identifier rgb:88c0d0,default
|
||||
set-face global string rgb:a3be8c,default
|
||||
set-face global error rgb:BF616A,default
|
||||
set-face global keyword rgb:81a1c1,default
|
||||
set-face global operator rgb:c7c7c7,default
|
||||
set-face global attribute rgb:5e81ac,default
|
||||
set-face global comment rgb:4c566a,default
|
||||
set-face global meta rgb:ebcb8b,default
|
||||
|
||||
set-face global Default rgb:eceff4,rgb:2e3440
|
||||
# default colors
|
||||
|
||||
set-face global PrimarySelection rgb:2e3440,rgb:e5e9f0
|
||||
# main selection face for every selected character except the cursor
|
||||
|
||||
set-face global SecondarySelection rgb:eceff4,rgb:434c5e
|
||||
# secondary selection face for every selected character except the cursor
|
||||
|
||||
set-face global PrimaryCursor rgb:2e3440,rgb:ebcb8b
|
||||
# cursor of the primary selection
|
||||
|
||||
set-face global SecondaryCursor rgb:2e3440,rgb:d8dee9
|
||||
# cursor of the secondary selection
|
||||
|
||||
# set-face global PrimaryCursorEol
|
||||
# cursor of the primary selection when it lies on and end of line character
|
||||
|
||||
# set-face global SecondaryCursorEol
|
||||
# cursor of the secondary selection when it lies on and end of line character
|
||||
|
||||
set-face global MenuForeground rgb:d8dee9,rgb:4c566a
|
||||
# face for the selected element in menus
|
||||
|
||||
set-face global MenuBackground default,rgb:3b4252
|
||||
# face for the not selected elements in menus
|
||||
|
||||
set-face global MenuInfo default,rgb:3b4252
|
||||
# face for additional information for elements in menus
|
||||
|
||||
set-face global Information rgb:2e3440,rgb:88c0d0
|
||||
# face for the informations windows and information messages
|
||||
|
||||
# set-face global Error
|
||||
# face of error messages
|
||||
|
||||
set-face global StatusLine rgb:e5e9f0,rgb:3b4252
|
||||
# face used for the status line
|
||||
|
||||
set-face global StatusLineMode rgb:5e81ac,rgb:3b4252
|
||||
# face used for the current mode except the normal mode
|
||||
|
||||
set-face global StatusLineInfo rgb:5e81ac,rgb:3b4252
|
||||
# face used for special information
|
||||
|
||||
set-face global StatusLineValue rgb:5e81ac,rgb:3b4252
|
||||
# face used for special values (numeric prefixes, registers, etc.)
|
||||
|
||||
set-face global StatusCursor rgb:2e3440,rgb:ebcb8b
|
||||
# face used for the status line cursor
|
||||
|
||||
set-face global Prompt rgb:88c0d0,rgb:3b4252
|
||||
# face used prompt displayed on the status line
|
||||
|
||||
set-face global BufferPadding default,default
|
||||
# face applied on the ~ characters that follow the last line of a buffer
|
||||
|
||||
# set-face global Builtin highlighters faces
|
||||
|
||||
# The following faces are used by builtin highlighters if enabled.
|
||||
|
||||
# set-face global LineNumbers
|
||||
# face used by the number-lines highlighter
|
||||
|
||||
# set-face global LineNumberCursor
|
||||
# face used to highlight the line number of the main selection
|
||||
|
||||
# set-face global LineNumbersWrapped
|
||||
# face used to highlight the line number of wrapped lines
|
||||
|
||||
# set-face global MatchingChar
|
||||
# face used by the show-matching highlighter
|
||||
|
||||
# set-face global Whitespace
|
||||
# face used by the show-whitespaces highlighter
|
||||
6
home.nix
6
home.nix
|
|
@ -59,12 +59,12 @@ in
|
|||
packages = with pkgs; [
|
||||
audacity
|
||||
authy
|
||||
blender
|
||||
# blender
|
||||
discord
|
||||
evolution
|
||||
firefox
|
||||
gallery-dl
|
||||
gallery-tagger
|
||||
# gallery-tagger
|
||||
gnome.dconf-editor
|
||||
gnome.easytag
|
||||
gnome.eog
|
||||
|
|
@ -156,7 +156,7 @@ in
|
|||
./modules/man.nix
|
||||
# ./modules/nix-index.nix
|
||||
./modules/noti.nix
|
||||
./modules/obs-studio.nix
|
||||
# ./modules/obs-studio.nix
|
||||
# ./modules/pazi.nix
|
||||
./modules/picom.nix
|
||||
./modules/polybar.nix
|
||||
|
|
|
|||
3
intel-update.sh
Executable file
3
intel-update.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sudo nix-channel --update &&
|
||||
sudo nixos-rebuild boot -p Intel -I nixos-config=./nixos/intel.nix
|
||||
|
|
@ -30,4 +30,31 @@ in
|
|||
'';
|
||||
startupPrograms = [];
|
||||
};
|
||||
|
||||
# xdg.configFile."bspwm/bspwmrc" = {
|
||||
# executable = true;
|
||||
# text = ''
|
||||
# #!/bin/sh
|
||||
|
||||
# bspc monitor DP1 -d I II III IV V VI VII VIII IX X
|
||||
# bspc monitor HDMI-0 -d I II III IV V VI VII VIII IX X
|
||||
# bspc monitor eDP-1-1 -d I II III IV V VI VII VIII IX X
|
||||
# bspc monitor eDP1 -d I II III IV V VI VII VIII IX X
|
||||
# bspc config border_radius 8
|
||||
# bspc config border_width 2
|
||||
# bspc config borderless_monocle true
|
||||
# bspc config focused_border_color '#678EBD'
|
||||
# bspc config gapless_monocle false
|
||||
# bspc config normal_border_color '#5E81AC'
|
||||
# bspc config split_ratio 0.500000
|
||||
# bspc config top_padding 0
|
||||
# bspc config window_gap 4
|
||||
# # java gui fixes
|
||||
# export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
# bspc rule -a sun-awt-X11-XDialogPeer state=floating
|
||||
|
||||
# sleep 2
|
||||
# polybar-msg cmd restart
|
||||
# '';
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,6 +115,6 @@ in
|
|||
]
|
||||
) ++ rustPlugins ++ cppPlugins ++ pythonPlugins ++ nixPlugins ++ spellingPlugins ++ dataFormats;
|
||||
};
|
||||
|
||||
xdg.configFile."kak/colors/nord.kak".source = ../configs/kak/colors/nord.kak;
|
||||
xdg.configFile."kak-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ let
|
|||
ramp = [ "▂" "▃" "▄" "▅" "▆" "▇" ];
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [ nerdfonts emojione noto-fonts-emoji ];
|
||||
home.packages = with pkgs; [ nerdfonts emojione noto-fonts-emoji material-design-icons ];
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
package = pkgs.polybarFull;
|
||||
|
|
|
|||
|
|
@ -3,41 +3,41 @@
|
|||
enable = true;
|
||||
compression = true;
|
||||
matchBlocks = {
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
identityFile = "~/.ssh/gitlab";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
identityFile = "~/.ssh/github";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"bitbucket.com" = {
|
||||
hostname = "bitbucket.com";
|
||||
identityFile = "~/.ssh/bitbucket";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"aur.archlinux.org" = {
|
||||
hostname = "aur.archlinux.org";
|
||||
identityFile = "~/.ssh/aur";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"heroku.com" = {
|
||||
hostname = "heroku.com";
|
||||
identityFile = "~/.ssh/heroku";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"ngrok.io" = {
|
||||
hostname = "ngrok.io";
|
||||
identityFile = "~/.ssh/local";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"172.27.108.?" = {
|
||||
hostname = "172.27.108.?";
|
||||
identityFile = "~/.ssh/local";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
# "gitlab.com" = {
|
||||
# hostname = "gitlab.com";
|
||||
# identityFile = "~/.ssh/gitlab";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "github.com" = {
|
||||
# hostname = "github.com";
|
||||
# identityFile = "~/.ssh/github";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "bitbucket.com" = {
|
||||
# hostname = "bitbucket.com";
|
||||
# identityFile = "~/.ssh/bitbucket";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "aur.archlinux.org" = {
|
||||
# hostname = "aur.archlinux.org";
|
||||
# identityFile = "~/.ssh/aur";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "heroku.com" = {
|
||||
# hostname = "heroku.com";
|
||||
# identityFile = "~/.ssh/heroku";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "ngrok.io" = {
|
||||
# hostname = "ngrok.io";
|
||||
# identityFile = "~/.ssh/local";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
# "172.27.108.?" = {
|
||||
# hostname = "172.27.108.?";
|
||||
# identityFile = "~/.ssh/local";
|
||||
# identitiesOnly = true;
|
||||
# };
|
||||
"*" = {
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -151,12 +151,50 @@
|
|||
'';
|
||||
in
|
||||
{
|
||||
bertof_home = { subvolume = "/home/bertof"; extraConfig = bertofExtraConfig; };
|
||||
bertof_images = { subvolume = "/home/bertof/Immagini"; extraConfig = bertofExtraConfig; };
|
||||
bertof_music = { subvolume = "/home/bertof/Musica"; extraConfig = bertofExtraConfig; };
|
||||
bertof_videos = { subvolume = "/home/bertof/Video"; extraConfig = bertofExtraConfig; };
|
||||
bertof_hdd_games = { subvolume = "/home/bertof/Giochi/HDD"; extraConfig = bertofExtraConfig; };
|
||||
bertof_ssd_games = { subvolume = "/home/bertof/Giochi/SSD"; extraConfig = bertofExtraConfig; };
|
||||
bertof_home = {
|
||||
subvolume = "/home/bertof";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_music = {
|
||||
subvolume = "/home/bertof/Musica";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_downloads = {
|
||||
subvolume = "/home/bertof/Scaricati";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_images = {
|
||||
subvolume = "/home/bertof/Immagini";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_videos = {
|
||||
subvolume = "/home/bertof/Video";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_documents = {
|
||||
subvolume = "/home/bertof/Documenti";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_games_ssd = {
|
||||
subvolume = "/home/bertof/Giochi/SSD";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_games_hdd = {
|
||||
subvolume = "/home/bertof/Giochi/HDD";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_git = {
|
||||
subvolume = "/home/bertof/Documenti/Git";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_virt_ssd = {
|
||||
subvolume = "/home/bertof/Documenti/VirtManager/SSD";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
bertof_virt_hdd = {
|
||||
subvolume = "/home/bertof/Documenti/VirtManager/HDD";
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,20 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
<nixos-hardware/common/cpu/intel>
|
||||
./base.nix
|
||||
];
|
||||
|
||||
boot.initrd.kernelModules = ["i915"];
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
|
||||
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
];
|
||||
|
||||
# This runs only Intel and nvidia does not drain power.
|
||||
##### disable nvidia for a very nice battery life.
|
||||
hardware.nvidiaOptimus.disable = true;
|
||||
|
|
|
|||
|
|
@ -7,10 +7,21 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
<nixos-hardware/common/cpu/intel>
|
||||
./base.nix
|
||||
];
|
||||
|
||||
boot.initrd.kernelModules = ["i915"];
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
|
||||
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
];
|
||||
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
|
|
|
|||
3
nvidia-update.sh
Executable file
3
nvidia-update.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sudo nix-channel --update &&
|
||||
sudo nixos-rebuild boot -p Nvidia -I nixos-config=./nixos/nvidia.nix
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
sudo nix-channel --update &&
|
||||
sudo nixos-rebuild switch -p Intel -I nixos-config=./nixos/intel.nix
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
sudo nix-channel --update &&
|
||||
sudo nixos-rebuild switch -p Nvidia -I nixos-config=./nixos/nvidia.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue