a bunch of qol improvments
This commit is contained in:
parent
35cbaadd07
commit
06d7e288c6
41
README.org
41
README.org
|
@ -36,7 +36,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hyprland = {
|
hyprland = {
|
||||||
url = "github:vaxerski/Hyprland";
|
url = "github:hyprwm/Hyprland";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
emacs = {
|
emacs = {
|
||||||
|
@ -106,7 +106,6 @@ Both include the home-manager module. Primarily I chose that route so that I cou
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.chris = import ./user/home.nix;
|
home-manager.users.chris = import ./user/home.nix;
|
||||||
programs.hyprland.enable = true;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -121,7 +120,6 @@ Both include the home-manager module. Primarily I chose that route so that I cou
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.chris = import ./user/home.nix;
|
home-manager.users.chris = import ./user/home.nix;
|
||||||
programs.hyprland.enable = true;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -183,6 +181,16 @@ services.xserver = {
|
||||||
sddm = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
session = [
|
||||||
|
{
|
||||||
|
manage = "desktop";
|
||||||
|
name = "Hyprland";
|
||||||
|
start = ''
|
||||||
|
/home/chris/bin/hyprland &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
desktopManager.plasma5 = {
|
desktopManager.plasma5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -191,6 +199,25 @@ services.xserver = {
|
||||||
# desktopManager.gnome.enable = true;
|
# desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
initial_session = {
|
||||||
|
command = "startplasma-wayland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
|
hyprland_session = {
|
||||||
|
command = "/home/chris/bin/hyprland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns = true;
|
||||||
|
@ -497,7 +524,7 @@ fennel
|
||||||
Let's create our own custom LightlyShaders package. This is in it's own file for now.
|
Let's create our own custom LightlyShaders package. This is in it's own file for now.
|
||||||
#+NAME: lightlyshaders
|
#+NAME: lightlyshaders
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
(libsForQt5.callPackage ../../LightlyShaders {})
|
(libsForQt5.callPackage /home/chris/dev/LightlyShaders {})
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Let's also add our own package from my WIP presenter
|
Let's also add our own package from my WIP presenter
|
||||||
|
@ -554,15 +581,12 @@ Emacs service
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages
|
package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages
|
||||||
(epkgs: with epkgs; [
|
(epkgs: with epkgs; [
|
||||||
vterm
|
vterm
|
||||||
magit
|
magit
|
||||||
pdf-tools
|
pdf-tools
|
||||||
eglot
|
|
||||||
consult-eglot
|
consult-eglot
|
||||||
tree-sitter
|
|
||||||
tree-sitter-langs
|
|
||||||
org
|
org
|
||||||
org-roam
|
org-roam
|
||||||
command-log-mode
|
command-log-mode
|
||||||
|
@ -663,7 +687,6 @@ services.emacs = {
|
||||||
use-package
|
use-package
|
||||||
esh-autosuggest
|
esh-autosuggest
|
||||||
pkgs.mu
|
pkgs.mu
|
||||||
pkgs.tree-sitter-grammars.tree-sitter-cpp
|
|
||||||
]));
|
]));
|
||||||
};
|
};
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hyprland = {
|
hyprland = {
|
||||||
url = "github:vaxerski/Hyprland";
|
url = "github:hyprwm/Hyprland";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
emacs = {
|
emacs = {
|
||||||
|
@ -79,7 +79,6 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.chris = import ./user/home.nix;
|
home-manager.users.chris = import ./user/home.nix;
|
||||||
programs.hyprland.enable = true;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -94,7 +93,6 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.chris = import ./user/home.nix;
|
home-manager.users.chris = import ./user/home.nix;
|
||||||
programs.hyprland.enable = true;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -106,7 +106,7 @@ bind=SUPERSHIFT,Q,exit,
|
||||||
bind=SUPERSHIFT,D,exec,dolphin
|
bind=SUPERSHIFT,D,exec,dolphin
|
||||||
bind=SUPERSHIFT,F,togglefloating,
|
bind=SUPERSHIFT,F,togglefloating,
|
||||||
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
||||||
bindr=ALT,Alt_L,exec,/home/chris/bin/windows.sh
|
bindr=SUPERALT,Alt_L,exec,/home/chris/bin/windows.sh
|
||||||
bind=SUPER,E,exec,/home/chris/bin/emacslof
|
bind=SUPER,E,exec,/home/chris/bin/emacslof
|
||||||
bind=SUPER,B,exec,/home/chris/bin/fflof
|
bind=SUPER,B,exec,/home/chris/bin/fflof
|
||||||
bind=SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
|
bind=SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
|
||||||
|
@ -156,8 +156,8 @@ bind=SUPER,y,togglespecialworkspace
|
||||||
bind=SUPER,i,pin
|
bind=SUPER,i,pin
|
||||||
bind=SUPER,n,movetoworkspace,special
|
bind=SUPER,n,movetoworkspace,special
|
||||||
|
|
||||||
binde=, XF86AudioRaiseVolume, exec, volup
|
binde=, XF86AudioRaiseVolume, exec, /home/chris/bin/volup
|
||||||
binde=, XF86AudioLowerVolume, exec, voldown
|
binde=, XF86AudioLowerVolume, exec, /home/chris/bin/voldown
|
||||||
binde=, XF86AudioMute, exec, pamixer -t
|
binde=, XF86AudioMute, exec, pamixer -t
|
||||||
|
|
||||||
binde=, XF86MonBrightnessUp, exec, brightnessctl s +10%
|
binde=, XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" | wc -l
|
mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" | wc -l
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
muunread="$(mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" | wc -l)"
|
muunread="$(mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" | wc -l)"
|
||||||
|
|
||||||
echo " $muunread "
|
echo " $muunread "
|
||||||
# echo " $muunread | color=#f3f99d font='VictorMono Nerd Font' size=11"
|
# echo " $muunread | color=#f3f99d font='VictorMono Nerd Font' size=11"
|
||||||
|
|
|
@ -97,6 +97,16 @@
|
||||||
sddm = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
session = [
|
||||||
|
{
|
||||||
|
manage = "desktop";
|
||||||
|
name = "Hyprland";
|
||||||
|
start = ''
|
||||||
|
/home/chris/bin/hyprland &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
desktopManager.plasma5 = {
|
desktopManager.plasma5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -105,6 +115,25 @@
|
||||||
# desktopManager.gnome.enable = true;
|
# desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
initial_session = {
|
||||||
|
command = "startplasma-wayland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
|
hyprland_session = {
|
||||||
|
command = "/home/chris/bin/hyprland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns = true;
|
||||||
|
@ -373,7 +402,7 @@
|
||||||
# plasma5Packages.kirigami2
|
# plasma5Packages.kirigami2
|
||||||
sqlite
|
sqlite
|
||||||
fennel
|
fennel
|
||||||
(libsForQt5.callPackage ../../LightlyShaders {})
|
(libsForQt5.callPackage /home/chris/dev/LightlyShaders {})
|
||||||
];
|
];
|
||||||
|
|
||||||
# nixpkgs.overlays = [
|
# nixpkgs.overlays = [
|
||||||
|
@ -412,15 +441,12 @@
|
||||||
|
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages
|
package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages
|
||||||
(epkgs: with epkgs; [
|
(epkgs: with epkgs; [
|
||||||
vterm
|
vterm
|
||||||
magit
|
magit
|
||||||
pdf-tools
|
pdf-tools
|
||||||
eglot
|
|
||||||
consult-eglot
|
consult-eglot
|
||||||
tree-sitter
|
|
||||||
tree-sitter-langs
|
|
||||||
org
|
org
|
||||||
org-roam
|
org-roam
|
||||||
command-log-mode
|
command-log-mode
|
||||||
|
@ -521,7 +547,6 @@
|
||||||
use-package
|
use-package
|
||||||
esh-autosuggest
|
esh-autosuggest
|
||||||
pkgs.mu
|
pkgs.mu
|
||||||
pkgs.tree-sitter-grammars.tree-sitter-cpp
|
|
||||||
]));
|
]));
|
||||||
};
|
};
|
||||||
services.samba-wsdd.enable = true;
|
services.samba-wsdd.enable = true;
|
||||||
|
|
|
@ -90,6 +90,16 @@
|
||||||
sddm = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
session = [
|
||||||
|
{
|
||||||
|
manage = "desktop";
|
||||||
|
name = "Hyprland";
|
||||||
|
start = ''
|
||||||
|
/home/chris/bin/hyprland &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
desktopManager.plasma5 = {
|
desktopManager.plasma5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -98,6 +108,25 @@
|
||||||
# desktopManager.gnome.enable = true;
|
# desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
initial_session = {
|
||||||
|
command = "startplasma-wayland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
|
hyprland_session = {
|
||||||
|
command = "/home/chris/bin/hyprland";
|
||||||
|
user = "chris";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns = true;
|
||||||
|
@ -393,21 +422,18 @@
|
||||||
# plasma5Packages.kirigami2
|
# plasma5Packages.kirigami2
|
||||||
sqlite
|
sqlite
|
||||||
fennel
|
fennel
|
||||||
(libsForQt5.callPackage ../../LightlyShaders {})
|
(libsForQt5.callPackage /home/chris/dev/LightlyShaders {})
|
||||||
(libsForQt5.callPackage /home/chris/dev/church-presenter {})
|
(libsForQt5.callPackage /home/chris/dev/church-presenter {})
|
||||||
];
|
];
|
||||||
|
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages
|
package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages
|
||||||
(epkgs: with epkgs; [
|
(epkgs: with epkgs; [
|
||||||
vterm
|
vterm
|
||||||
magit
|
magit
|
||||||
pdf-tools
|
pdf-tools
|
||||||
eglot
|
|
||||||
consult-eglot
|
consult-eglot
|
||||||
tree-sitter
|
|
||||||
tree-sitter-langs
|
|
||||||
org
|
org
|
||||||
org-roam
|
org-roam
|
||||||
command-log-mode
|
command-log-mode
|
||||||
|
@ -508,7 +534,6 @@
|
||||||
use-package
|
use-package
|
||||||
esh-autosuggest
|
esh-autosuggest
|
||||||
pkgs.mu
|
pkgs.mu
|
||||||
pkgs.tree-sitter-grammars.tree-sitter-cpp
|
|
||||||
]));
|
]));
|
||||||
};
|
};
|
||||||
services.samba-wsdd.enable = true;
|
services.samba-wsdd.enable = true;
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["pulseaudio", "backlight", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
|
"modules-right": ["pulseaudio", "backlight", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
|
||||||
"margin-top": 0,
|
"margin-top": -5,
|
||||||
"margin-bottom": 10,
|
"margin-bottom": 8,
|
||||||
"margin-left": 17,
|
"margin-left": 6,
|
||||||
"margin-right": 17,
|
"margin-right": 6,
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
@ -51,11 +51,10 @@
|
||||||
// "timezone": "America/New_York",
|
// "timezone": "America/New_York",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
"format-alt": "{:%Y-%m-%d}",
|
||||||
"format": "{:%a %b %e, %I:%M %p}"
|
"format": "{:%a %b%e, %I:%M %p}"
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
"tooltip": false
|
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": " {}%"
|
"format": " {}%"
|
||||||
|
@ -75,7 +74,7 @@
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
// "good": 95,
|
"good": 95,
|
||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
|
@ -83,9 +82,10 @@
|
||||||
"format-charging": " {capacity}%",
|
"format-charging": " {capacity}%",
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}%",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
"format-good": "", // An empty format will hide the module
|
||||||
// "format-full": "",
|
"format-full": "",
|
||||||
"format-icons": [" ", " ", " ", " ", " "]
|
"format-icons": [" ", " ", " ", " ", " "],
|
||||||
|
"format-charging-icons": [" ", " ", " ", " ", " "]
|
||||||
},
|
},
|
||||||
"battery#bat2": {
|
"battery#bat2": {
|
||||||
"bat": "BAT2",
|
"bat": "BAT2",
|
||||||
|
|
|
@ -31,12 +31,16 @@
|
||||||
|
|
||||||
|
|
||||||
window {
|
window {
|
||||||
color: @base05;
|
background: transparent;
|
||||||
background: @base00;
|
|
||||||
/* border-radius: 20px; */
|
/* border-radius: 20px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.solo {
|
window#waybar > box {
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
color: @base05;
|
||||||
|
box-shadow: 2px 2px 5px 5px #101010;
|
||||||
|
margin: 12px 14px 14px 14px;
|
||||||
background: @base00;
|
background: @base00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue