feat: added some exec stuff

This commit is contained in:
Nick 2025-01-11 18:53:08 -06:00
parent 569d969ecc
commit 42316e4a2a
84 changed files with 25 additions and 9 deletions

View file

@ -89,7 +89,7 @@ in {
dunst dunst
easyEffects easyEffects
gammastep gammastep
hypr hyprland
misc-hyprland misc-hyprland
network network
swaylock swaylock

View file

@ -1,7 +1,7 @@
{ {
imports = [ imports = [
./idle ./hypridle
./land ./hyprland
./wpaperd ./wpaperd
]; ];
} }

View file

@ -1,4 +1,11 @@
let {
flake,
config,
...
}: let
inherit (flake.config.people) user0 user1;
user = config.home.username;
superBinds = builtins.map (x: "SUPER, " + x) [ superBinds = builtins.map (x: "SUPER, " + x) [
# Apps # Apps
"Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun" "Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
@ -19,6 +26,13 @@ let
"End, exec, hyprctl dispatch exit" "End, exec, hyprctl dispatch exit"
"S, exec, steam" "S, exec, steam"
"period, exec, emote" "period, exec, emote"
"L, exec, ${
if user == user0
then "slack"
else if user == user1
then "flatpak run org.vinegarhq.Sober"
else ""
}"
# Workspaces # Workspaces
"1, workspace, 1" "1, workspace, 1"
"2, workspace, 2" "2, workspace, 2"
@ -30,8 +44,8 @@ let
"X, killactive" "X, killactive"
"Tab, fullscreen, 0" "Tab, fullscreen, 0"
"P, pin, enable" "P, pin, enable"
"bracketleft, splitratio, -0.1" "equal, splitratio, 0.33"
"bracketright, splitratio, +0.1" "minus, splitratio, -0.33"
# Window Focus # Window Focus
"left , movefocus, l" "left , movefocus, l"
"down , movefocus, d" "down , movefocus, d"

View file

@ -12,6 +12,8 @@
"pkill easyeffects" "pkill easyeffects"
"emote" "emote"
"flameshot" "flameshot"
"pactl set-default-sink alsa_output.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Line1__sink"
"pactl set-default-source alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Mic1__source"
"gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'" "gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
"gsettings set org.gnome.desktop.interface cursor-size 18" "gsettings set org.gnome.desktop.interface cursor-size 18"
] ]

View file

@ -1,7 +1,7 @@
{ {
# pkgs, # pkgs,
# flake, flake,
# config, config,
... ...
}: let }: let
# hostname = config.networking.hostName; # hostname = config.networking.hostName;
@ -9,7 +9,7 @@
configPath = ./config; configPath = ./config;
configImports = { configImports = {
animations = import (configPath + /animations.nix); animations = import (configPath + /animations.nix);
bind = import (configPath + /bind.nix); bind = import (configPath + /bind.nix) {inherit flake config;};
bindm = import (configPath + /bindm.nix); bindm = import (configPath + /bindm.nix);
binds = import (configPath + /binds.nix); binds = import (configPath + /binds.nix);
# bindl = # bindl =

View file

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2 MiB

After

Width:  |  Height:  |  Size: 2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 4.2 MiB

After

Width:  |  Height:  |  Size: 4.2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 578 KiB

After

Width:  |  Height:  |  Size: 578 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 808 KiB

After

Width:  |  Height:  |  Size: 808 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 578 KiB

After

Width:  |  Height:  |  Size: 578 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 5.1 MiB

After

Width:  |  Height:  |  Size: 5.1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 632 KiB

After

Width:  |  Height:  |  Size: 632 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 302 KiB

After

Width:  |  Height:  |  Size: 302 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 8.2 MiB

After

Width:  |  Height:  |  Size: 8.2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 833 KiB

After

Width:  |  Height:  |  Size: 833 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 467 KiB

After

Width:  |  Height:  |  Size: 467 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2 MiB

After

Width:  |  Height:  |  Size: 2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Before After
Before After