Regenerated
This commit is contained in:
+399
-479
File diff suppressed because it is too large
Load Diff
+12
-85
@@ -338,7 +338,6 @@ in
|
|||||||
|
|
||||||
** =generated/hosts/traveldroid/boot.nix=
|
** =generated/hosts/traveldroid/boot.nix=
|
||||||
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
@@ -709,69 +708,11 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** =generated/disabled/modules/traveldroid/apps/flameshot.nix=
|
|
||||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
|
||||||
#+BEGIN_SRC nix :tangle generated/disabled/modules/traveldroid/apps/flameshot.nix :noweb yes :mkdirp yes :eval never
|
|
||||||
{ pkgs, config, lib, ... }:
|
|
||||||
let
|
|
||||||
username = config.defaultUser or "henrov";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
############################
|
|
||||||
# System-level packages
|
|
||||||
############################
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
flameshot
|
|
||||||
];
|
|
||||||
|
|
||||||
############################
|
|
||||||
# Home Manager user-level configuration
|
|
||||||
############################
|
|
||||||
home-manager.users."${username}" = {
|
|
||||||
home.sessionVariables = {
|
|
||||||
SCREENSHOT_TOOL = "flameshot";
|
|
||||||
USERNAME = username;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Create ~/Pictures/Screenshots by touching a dummy file
|
|
||||||
home.file."Pictures/Screenshots/.keep" = {
|
|
||||||
text = ""; # empty file
|
|
||||||
};
|
|
||||||
|
|
||||||
services.flameshot = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
General = {
|
|
||||||
uiColor = "#97cbbe";
|
|
||||||
contrastUiColor = "#1e1e2e";
|
|
||||||
showDesktopNotification = true;
|
|
||||||
savePath = "/home/${username}/Pictures/Screenshots";
|
|
||||||
filenamePattern = "$Y-$m-$d_$H-$M-$S";
|
|
||||||
useGrimAdapter = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.services.flameshot = {
|
|
||||||
Service = {
|
|
||||||
Environment = [
|
|
||||||
"WAYLAND_DISPLAY=wayland-1"
|
|
||||||
"XDG_CURRENT_DESKTOP=hyprland"
|
|
||||||
"XDG_SESSION_TYPE=wayland"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/modules/traveldroid/apps/kdeconnect.nix=
|
** =generated/modules/traveldroid/apps/kdeconnect.nix=
|
||||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kdeconnect.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kdeconnect.nix :noweb yes :mkdirp yes :eval never
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
@@ -973,7 +914,6 @@ in
|
|||||||
** =generated/modules/traveldroid/apps/zeditor.nix=
|
** =generated/modules/traveldroid/apps/zeditor.nix=
|
||||||
This sets Zed Editor
|
This sets Zed Editor
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zeditor.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zeditor.nix :noweb yes :mkdirp yes :eval never
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
@@ -2687,13 +2627,6 @@ bind = , XF86Screenshot, exec, grimblast -n -f copysave area
|
|||||||
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
|
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
|
||||||
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
|
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
|
||||||
|
|
||||||
# Flameshot keybindings
|
|
||||||
# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
|
|
||||||
# bind = $mainMod SHIFT, S, exec, flameshot gui 2>/dev/null
|
|
||||||
# bind = , XF86Screenshot, exec, flameshot gui 2>/dev/null
|
|
||||||
# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
|
|
||||||
# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
|
|
||||||
|
|
||||||
# Switch windows
|
# Switch windows
|
||||||
bind = ALT, TAB, cyclenext, prev
|
bind = ALT, TAB, cyclenext, prev
|
||||||
bind = ALT SHIFT, TAB, cyclenext, prev
|
bind = ALT SHIFT, TAB, cyclenext, prev
|
||||||
@@ -2751,17 +2684,18 @@ bind = $mainMod, F, fullscreen, 0
|
|||||||
bind = $mainMod SHIFT, F, fullscreen, 1
|
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||||
|
|
||||||
# Workspaces
|
# Workspaces
|
||||||
bind = $mainMod, 1, workspace, 1, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
bind = $mainMod, 2, workspace, 2, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 2
|
bind = $mainMod, 2, workspace, 2
|
||||||
bind = $mainMod, 3, workspace, 3, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 3
|
bind = $mainMod, 3, workspace, 3
|
||||||
bind = $mainMod, 4, workspace, 4, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 4
|
bind = $mainMod, 4, workspace, 4
|
||||||
bind = $mainMod, 5, workspace, 5, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 5
|
bind = $mainMod, 5, workspace, 5
|
||||||
bind = $mainMod, 6, workspace, 6, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 6
|
bind = $mainMod, 6, workspace, 6
|
||||||
bind = $mainMod, 7, workspace, 7, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 7
|
bind = $mainMod, 7, workspace, 7
|
||||||
bind = $mainMod, 8, workspace, 8, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 8
|
bind = $mainMod, 8, workspace, 8
|
||||||
bind = $mainMod, 9, workspace, 9, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 9
|
bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 0
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Moving windows to workspaces
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
@@ -2826,11 +2760,6 @@ bind = $mainMod, W, exec, zen
|
|||||||
bind = CTRL ALT, T, exec, solidtime-desktop
|
bind = CTRL ALT, T, exec, solidtime-desktop
|
||||||
bind = , XF86Calculator, exec, gnome-calculator
|
bind = , XF86Calculator, exec, gnome-calculator
|
||||||
|
|
||||||
#########################
|
|
||||||
# Auto apps
|
|
||||||
#########################
|
|
||||||
bind = , workspace, exec, ~/.config/scripts/set-workspace-wallpaper.sh
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# System stuff
|
# System stuff
|
||||||
#########################
|
#########################
|
||||||
@@ -2847,11 +2776,9 @@ exec-once = systemctl --user start --no-block xdg-desktop-portal
|
|||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = awww-daemon
|
exec-once = awww-daemon
|
||||||
exec-once = awww img ~/Wallpapers/pictures/01.jpg
|
exec-once = awww img ~/Wallpapers/pictures/01.jpg
|
||||||
exec-once = ~/.config/scripts/set-workspace-wallpaper.sh
|
exec-once = ~/Wallpapers/scripts/ws-daemon.sh
|
||||||
exec-once = ~/.config/scripts/workspace-listener.sh
|
|
||||||
exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
exec-once = nextcloud --background
|
exec-once = nextcloud --background
|
||||||
# exec-once = QT_QPA_PLATFORM=wayland flameshot 2> >(grep -v "wlroots" >&2)
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
socket="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
|
||||||
|
|
||||||
socat -U - UNIX-CONNECT:$socket | while read -r line; do
|
|
||||||
if [[ "$line" == workspace* ]]; then
|
|
||||||
~/.config/hypr/scripts/set-workspace-wallpaper.sh
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
SOCK="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
||||||
|
|
||||||
|
socat -U - UNIX-CONNECT:"$SOCK" | while read -r line; do
|
||||||
|
case "$line" in
|
||||||
|
workspace>>*)
|
||||||
|
WS="${line#workspace>>}"
|
||||||
|
~/Wallpapers/scripts/ws-wallpaper.sh "$WS"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
@@ -18,13 +18,6 @@ bind = , XF86Screenshot, exec, grimblast -n -f copysave area
|
|||||||
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
|
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
|
||||||
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
|
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
|
||||||
|
|
||||||
# Flameshot keybindings
|
|
||||||
# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
|
|
||||||
# bind = $mainMod SHIFT, S, exec, flameshot gui 2>/dev/null
|
|
||||||
# bind = , XF86Screenshot, exec, flameshot gui 2>/dev/null
|
|
||||||
# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
|
|
||||||
# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
|
|
||||||
|
|
||||||
# Switch windows
|
# Switch windows
|
||||||
bind = ALT, TAB, cyclenext, prev
|
bind = ALT, TAB, cyclenext, prev
|
||||||
bind = ALT SHIFT, TAB, cyclenext, prev
|
bind = ALT SHIFT, TAB, cyclenext, prev
|
||||||
@@ -82,17 +75,18 @@ bind = $mainMod, F, fullscreen, 0
|
|||||||
bind = $mainMod SHIFT, F, fullscreen, 1
|
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||||
|
|
||||||
# Workspaces
|
# Workspaces
|
||||||
bind = $mainMod, 1, workspace, 1, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
bind = $mainMod, 2, workspace, 2, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 2
|
bind = $mainMod, 2, workspace, 2
|
||||||
bind = $mainMod, 3, workspace, 3, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 3
|
bind = $mainMod, 3, workspace, 3
|
||||||
bind = $mainMod, 4, workspace, 4, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 4
|
bind = $mainMod, 4, workspace, 4
|
||||||
bind = $mainMod, 5, workspace, 5, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 5
|
bind = $mainMod, 5, workspace, 5
|
||||||
bind = $mainMod, 6, workspace, 6, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 6
|
bind = $mainMod, 6, workspace, 6
|
||||||
bind = $mainMod, 7, workspace, 7, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 7
|
bind = $mainMod, 7, workspace, 7
|
||||||
bind = $mainMod, 8, workspace, 8, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 8
|
bind = $mainMod, 8, workspace, 8
|
||||||
bind = $mainMod, 9, workspace, 9, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 9
|
bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 0
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Moving windows to workspaces
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
@@ -157,11 +151,6 @@ bind = $mainMod, W, exec, zen
|
|||||||
bind = CTRL ALT, T, exec, solidtime-desktop
|
bind = CTRL ALT, T, exec, solidtime-desktop
|
||||||
bind = , XF86Calculator, exec, gnome-calculator
|
bind = , XF86Calculator, exec, gnome-calculator
|
||||||
|
|
||||||
#########################
|
|
||||||
# Auto apps
|
|
||||||
#########################
|
|
||||||
bind = , workspace, exec, ~/.config/scripts/set-workspace-wallpaper.sh
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# System stuff
|
# System stuff
|
||||||
#########################
|
#########################
|
||||||
|
|||||||
@@ -5,9 +5,7 @@ exec-once = systemctl --user start --no-block xdg-desktop-portal
|
|||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = awww-daemon
|
exec-once = awww-daemon
|
||||||
exec-once = awww img ~/Wallpapers/pictures/01.jpg
|
exec-once = awww img ~/Wallpapers/pictures/01.jpg
|
||||||
exec-once = ~/.config/scripts/set-workspace-wallpaper.sh
|
exec-once = ~/Wallpapers/scripts/ws-daemon.sh
|
||||||
exec-once = ~/.config/scripts/workspace-listener.sh
|
|
||||||
exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
exec-once = nextcloud --background
|
exec-once = nextcloud --background
|
||||||
# exec-once = QT_QPA_PLATFORM=wayland flameshot 2> >(grep -v "wlroots" >&2)
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
|
|||||||
Reference in New Issue
Block a user