mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 19:51:14 +00:00
Re-enabled nvtop, nopasswd for nvtop, properly enable kitty with remote control, streamdeck now uses alltop, alltop desktop entry, j4-dmenu-desktop as wrapper for bemenu so that desktop entries show, fixed desktop entry location
This commit is contained in:
@@ -43,7 +43,11 @@ in
|
||||
programs.bemenu.enable = true;
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font.name = "JetBrains Mono";
|
||||
settings = {
|
||||
allow_remote_control = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Assets/scripts
|
||||
@@ -74,11 +78,12 @@ in
|
||||
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
||||
|
||||
# Desktop entry files so bemenu can find them
|
||||
home.file.".local/share/glava.desktop".source = ./dotfiles/.local/share/glava.desktop;
|
||||
home.file.".local/share/jetbrains-toolbox.desktop".source =
|
||||
./dotfiles/.local/share/jetbrains-toolbox.desktop;
|
||||
home.file.".local/share/spotify-player.desktop".source =
|
||||
./dotfiles/.local/share/spotify-player.desktop;
|
||||
home.file.".local/share/applications/alltop.desktop".source =
|
||||
./dotfiles/.local/share/applications/alltop.desktop;
|
||||
home.file.".local/share/applications/glava.desktop".source =
|
||||
./dotfiles/.local/share/applications/glava.desktop;
|
||||
home.file.".local/share/applications/spotify-player.desktop".source =
|
||||
./dotfiles/.local/share/applications/spotify-player.desktop;
|
||||
|
||||
# Custom bash aliases
|
||||
home.shellAliases = {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=All Top
|
||||
Exec=bash -c "kitty --single-instance --detach bash -c 'kitten @ launch --type=window --title btop btop ; kitten @ launch --type=window --title nvtop nvtop'"
|
||||
Icon=alltop
|
||||
Terminal=false
|
||||
Categories=Utilities;
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Phone RDP
|
||||
Exec=bash -c "phonerdp"
|
||||
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --fullscreen"
|
||||
Icon=phonerdp
|
||||
Terminal=false
|
||||
Categories=Utilities;
|
||||
@@ -1,7 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=JetBrains Toolbox
|
||||
Exec=jetbrains-toolbox
|
||||
Icon=jetbrains-toolbox
|
||||
Terminal=false
|
||||
Categories=Development;IDE;
|
||||
@@ -4,7 +4,7 @@ monitor=,preferred,auto,1
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = thunar
|
||||
$menu = bemenu-run --line-height 22 --hf "##10AC25" --ff "##10AC25" --tf "##10AC25"
|
||||
$menu = j4-dmenu-desktop --dmenu='bemenu --ignorecase --line-height 22 --hf "##10AC25" --ff "##10AC25" --tf "##10AC25"' --term='kitty'
|
||||
|
||||
# Some default env vars
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
@@ -176,14 +176,14 @@
|
||||
"states": {
|
||||
"0": {
|
||||
"text": "",
|
||||
"icon": "/home/caperren/.config/streamdeck-ui/icons/glances-logo.png",
|
||||
"icon": "/home/caperren/.config/streamdeck-ui/icons/btop-logo.png",
|
||||
"keys": "",
|
||||
"write": "",
|
||||
"command": "kitty -e glances",
|
||||
"command": "bash -c \"kitty --single-instance --detach bash -c 'kitten @ launch --type=window --title btop btop ; kitten @ launch --type=window --title nvtop nvtop'\"",
|
||||
"brightness_change": 0,
|
||||
"switch_page": 0,
|
||||
"switch_state": 0,
|
||||
"text_vertical_align": "middle",
|
||||
"text_vertical_align": "top",
|
||||
"text_horizontal_align": "",
|
||||
"font": "",
|
||||
"font_color": "",
|
||||
@@ -582,7 +582,7 @@
|
||||
"write": "",
|
||||
"command": "kitty -e bash -i -c nrs",
|
||||
"brightness_change": 0,
|
||||
"switch_page": 0,
|
||||
"switch_page": 1,
|
||||
"switch_state": 0,
|
||||
"text_vertical_align": "middle",
|
||||
"text_horizontal_align": "",
|
||||
@@ -603,7 +603,7 @@
|
||||
"write": "",
|
||||
"command": "kitty -e bash -i -c nus",
|
||||
"brightness_change": 0,
|
||||
"switch_page": 0,
|
||||
"switch_page": 1,
|
||||
"switch_state": 0,
|
||||
"text_vertical_align": "middle",
|
||||
"text_horizontal_align": "",
|
||||
|
||||
BIN
users/caperren/dotfiles/streamdeck/icons/btop-logo.png
Normal file
BIN
users/caperren/dotfiles/streamdeck/icons/btop-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user