add gnome config
This commit is contained in:
parent
862afab97c
commit
d7aace3f8d
|
@ -10,62 +10,6 @@ mk-lappy-ssd /dev/nvme0n1 /usb/encryption-keys/lappy.key
|
||||||
```
|
```
|
||||||
## NetworkManager
|
## NetworkManager
|
||||||
Grab passwords from Vault
|
Grab passwords from Vault
|
||||||
## Gnome
|
|
||||||
(if using gnome)
|
|
||||||
### Settings App
|
|
||||||
#### Mouse Settings
|
|
||||||
Disable Natural Scrolling
|
|
||||||
#### Multitasking
|
|
||||||
Fixed number of workspaces: 9
|
|
||||||
#### Keyboard
|
|
||||||
Set keyboard to UK English Default
|
|
||||||
#### Keyboard Shortcuts
|
|
||||||
Alt+Num for all workspace switch
|
|
||||||
Alt+Shift+Num for all move window
|
|
||||||
Alt+F for Fullscreen
|
|
||||||
Alt+Shift+F for Maximize
|
|
||||||
Print for save screenshot to clipboard
|
|
||||||
Shift+Print for screenshot area
|
|
||||||
Alt+Shift+Q for close window
|
|
||||||
Custom Alt+Enter for `kitty`
|
|
||||||
Custom: Alt+D for `rofi -show run`
|
|
||||||
Run these because gnome cant do this:
|
|
||||||
```
|
|
||||||
for i in {1..9}
|
|
||||||
do
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-${i} "['<Alt>${i}']"
|
|
||||||
done
|
|
||||||
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-1 "['<Shift><Alt>exclam']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-2 "['<Shift><Alt>quotedbl']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-3 "['<Shift><Alt>sterling']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-4 "['<Shift><Alt>dollar']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['<Shift><Alt>percent']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-6 "['<Shift><Alt>asciicircum']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-7 "['<Shift><Alt>ampersand']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-8 "['<Shift><Alt>asterisk']"
|
|
||||||
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-9 "['<Shift><Alt>parenleft']"
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
#### Accessability
|
|
||||||
Cursor Size: Medium
|
|
||||||
Disable Animations
|
|
||||||
### Gnome-Extensions-App
|
|
||||||
Enable Just Perfection
|
|
||||||
### Just Pefection
|
|
||||||
Custom
|
|
||||||
Disable Workspace Popup
|
|
||||||
Disable Search
|
|
||||||
Disable Dash
|
|
||||||
Animation: No.
|
|
||||||
|
|
||||||
### Gnome-Tweaks
|
|
||||||
Fonts: All to whatever readable comic sans/code
|
|
||||||
Hinting: Full
|
|
||||||
Antialiasing: Subpixel
|
|
||||||
Top Bar: Enable battery percentage
|
|
||||||
Clock: Enable All
|
|
||||||
## Browser (vivaldi)
|
## Browser (vivaldi)
|
||||||
### Settings
|
### Settings
|
||||||
#### General
|
#### General
|
||||||
|
|
|
@ -83,11 +83,11 @@
|
||||||
"utils": "utils_2"
|
"utils": "utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644497097,
|
"lastModified": 1645539646,
|
||||||
"narHash": "sha256-VPay/qY7epqr2oMXcjTSYXqupRCulx6JZdHlUJfM2WA=",
|
"narHash": "sha256-NcrTjFLQDyr8gh4yE5nIM9p6c1NO9KZd4gAHS7UJuok=",
|
||||||
"owner": "ChaotiCryptidz",
|
"owner": "ChaotiCryptidz",
|
||||||
"repo": "musicutil",
|
"repo": "musicutil",
|
||||||
"rev": "0f66213dfd4ebaa7eac327e12c791766e434f53d",
|
"rev": "c82b7dea1148989faa9fea82868215caf82b745a",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
musicutil.url = "gitlab:ChaotiCryptidz/musicutil";
|
musicutil.url = "gitlab:ChaotiCryptidz/musicutil";
|
||||||
|
#musicutil.url = "path:/home/chaos/Projects/musicutil";
|
||||||
musicutil.inputs.nixpkgs.follows = "nixpkgs";
|
musicutil.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +1,12 @@
|
||||||
{ inputs, pkgs, ... }: { home.packages = with pkgs; [ musicutil ]; }
|
{ inputs, pkgs, ... }: {
|
||||||
|
imports = [ inputs.musicutil.hmModule ];
|
||||||
|
|
||||||
|
programs.musicutil = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
log_level = "debug";
|
||||||
|
cache = true;
|
||||||
|
cache_dir = "/tmp";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
libarchive
|
||||||
zip
|
zip
|
||||||
unzip
|
unzip
|
||||||
p7zip
|
p7zip
|
||||||
|
|
|
@ -1 +1,134 @@
|
||||||
{ tree, ... }: { imports = with tree; [ home.apps.kitty home.apps.rofi ]; }
|
{ tree, pkgs, lib, inputs, ... }:
|
||||||
|
let hm = inputs.home-manager.lib.hm;
|
||||||
|
in {
|
||||||
|
imports = with tree; [ home.apps.kitty home.apps.rofi ];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ dconf2nix gnome.dconf-editor ];
|
||||||
|
|
||||||
|
dconf.enable = true;
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
# Clock at Top Bar
|
||||||
|
clock-show-seconds = true;
|
||||||
|
clock-show-weekday = true;
|
||||||
|
# Battery Percentage on Top Bar
|
||||||
|
show-battery-percentage = true;
|
||||||
|
|
||||||
|
# Cursor Size (only seems to affect VSCode??)
|
||||||
|
# TODO: Fix This
|
||||||
|
cursor-size = 32;
|
||||||
|
# I hate animations.
|
||||||
|
enable-animations = false;
|
||||||
|
# Handy for when using mouse.
|
||||||
|
enable-hot-corners = true;
|
||||||
|
# Fonts and hinting settings.
|
||||||
|
# TODO: Maybe do this with fontconfig too?
|
||||||
|
font-antialiasing = "rgba";
|
||||||
|
font-hinting = "full";
|
||||||
|
font-name = "Comic Code 16";
|
||||||
|
monospace-font-name = "Comic Code 14";
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/input-sources" = {
|
||||||
|
# TODO: see if this changes when using gnome wayland?
|
||||||
|
sources = [ (hm.gvariant.mkTuple [ "xkb" "gb" ]) ];
|
||||||
|
per-window = false;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/media-handling" = {
|
||||||
|
# growl i hate this until i sometimes dont in which case i love it
|
||||||
|
automount = false;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/notifications" = { show-in-lockscreen = false; };
|
||||||
|
"org/gnome/desktop/peripherials/mouse" = {
|
||||||
|
# NO!
|
||||||
|
natural-scroll = false;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/peripherials/touchpad" = {
|
||||||
|
# NO!
|
||||||
|
natural-scroll = false;
|
||||||
|
# YES!
|
||||||
|
two-finger-scrolling-enabled = true;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/privacy" = {
|
||||||
|
hide-identity = true;
|
||||||
|
old-files-age = 5;
|
||||||
|
recent-files-max-age = 0;
|
||||||
|
remember-app-usage = false;
|
||||||
|
remember-recent-files = false;
|
||||||
|
remove-old-temp-files = true;
|
||||||
|
remove-old-trash-files = true;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
|
# mostly just i3wm stock keybinds
|
||||||
|
close = [ "<Shift><Alt>q" ];
|
||||||
|
maximize = [ "<Shift><Alt>f" ];
|
||||||
|
toggle-fullscreen = [ "<Alt>f" ];
|
||||||
|
|
||||||
|
# Workspace Switch
|
||||||
|
switch-to-workspace-1 = [ "<Alt>1" ];
|
||||||
|
switch-to-workspace-2 = [ "<Alt>2" ];
|
||||||
|
switch-to-workspace-3 = [ "<Alt>3" ];
|
||||||
|
switch-to-workspace-4 = [ "<Alt>4" ];
|
||||||
|
switch-to-workspace-5 = [ "<Alt>5" ];
|
||||||
|
switch-to-workspace-6 = [ "<Alt>6" ];
|
||||||
|
switch-to-workspace-7 = [ "<Alt>7" ];
|
||||||
|
switch-to-workspace-8 = [ "<Alt>8" ];
|
||||||
|
switch-to-workspace-9 = [ "<Alt>9" ];
|
||||||
|
|
||||||
|
# Workspace Move Window
|
||||||
|
# TODO: Hardcoded for UK keyboards
|
||||||
|
move-to-workspace-1 = [ "<Shift><Alt>exclam" ];
|
||||||
|
move-to-workspace-2 = [ "<Shift><Alt>quotedbl" ];
|
||||||
|
move-to-workspace-3 = [ "<Shift><Alt>sterling" ];
|
||||||
|
move-to-workspace-4 = [ "<Shift><Alt>dollar" ];
|
||||||
|
move-to-workspace-5 = [ "<Shift><Alt>percent" ];
|
||||||
|
move-to-workspace-6 = [ "<Shift><Alt>asciicircum" ];
|
||||||
|
move-to-workspace-7 = [ "<Shift><Alt>ampersand" ];
|
||||||
|
move-to-workspace-8 = [ "<Shift><Alt>asterisk" ];
|
||||||
|
move-to-workspace-9 = [ "<Shift><Alt>parenleft" ];
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/wm/preferences" = {
|
||||||
|
num-workspaces = 9;
|
||||||
|
titlebar-font = "Comic Code Medium 14";
|
||||||
|
titlebar-uses-system-font = true;
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
|
area-screenshot = [ ];
|
||||||
|
area-screenshot-clip = [ "<Shift>Print" ];
|
||||||
|
screenshot = [ ];
|
||||||
|
screenshot-clip = [ "Print" ];
|
||||||
|
custom-keybinds = [
|
||||||
|
# Rofi & Kitty
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/kitty/"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi" = {
|
||||||
|
binding = "<Alt>d";
|
||||||
|
command = "rofi -show run";
|
||||||
|
name = "rofi";
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/kitty" = {
|
||||||
|
binding = "<Alt>Return";
|
||||||
|
command = "kitty";
|
||||||
|
name = "kitty";
|
||||||
|
};
|
||||||
|
"org/gnome/shell" = {
|
||||||
|
enabled-extensions = [ "just-perfection-desktop@just-perfection" ];
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/just-perfection" = {
|
||||||
|
activities-button = true;
|
||||||
|
animation = 0;
|
||||||
|
dash = false;
|
||||||
|
dash-icon-size = 0;
|
||||||
|
panel = true;
|
||||||
|
panel-in-overview = true;
|
||||||
|
search = false;
|
||||||
|
show-apps-button = true;
|
||||||
|
show-prefs-intro= false;
|
||||||
|
theme = false;
|
||||||
|
workspace = true;
|
||||||
|
workspace-popup = false;
|
||||||
|
workspace-switcher-should-show = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
3
home/programming/editors/sublime.nix
Normal file
3
home/programming/editors/sublime.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{pkgs,...}: {
|
||||||
|
home.packages = with pkgs; [sublime4];
|
||||||
|
}
|
|
@ -25,7 +25,6 @@ in {
|
||||||
profiles.sound.pipewire
|
profiles.sound.pipewire
|
||||||
|
|
||||||
profiles.gui
|
profiles.gui
|
||||||
profiles.gui.environments.sway
|
|
||||||
profiles.gui.environments.gnome
|
profiles.gui.environments.gnome
|
||||||
|
|
||||||
#profiles.gaming.steam
|
#profiles.gaming.steam
|
||||||
|
@ -52,7 +51,6 @@ in {
|
||||||
#home.reversing
|
#home.reversing
|
||||||
|
|
||||||
home.gui
|
home.gui
|
||||||
home.gui.environments.sway
|
|
||||||
home.gui.environments.gnome
|
home.gui.environments.gnome
|
||||||
|
|
||||||
#home.gaming.emulators.ds
|
#home.gaming.emulators.ds
|
||||||
|
@ -74,7 +72,7 @@ in {
|
||||||
home.apps.musicutil
|
home.apps.musicutil
|
||||||
home.apps.pavucontrol
|
home.apps.pavucontrol
|
||||||
|
|
||||||
home.programming
|
home.programming.editors.vscode
|
||||||
home.programming.languages.go
|
home.programming.languages.go
|
||||||
home.programming.languages.nix
|
home.programming.languages.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue