mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: update flake
This commit is contained in:
parent
9f93bf814a
commit
a7f24d1d67
5 changed files with 21 additions and 19 deletions
|
|
@ -6264,7 +6264,8 @@ Here we just define some aliases for rebuilding the system, and we allow some in
|
||||||
services = {
|
services = {
|
||||||
# add a user with sudo smbpasswd -a <user>
|
# add a user with sudo smbpasswd -a <user>
|
||||||
samba = {
|
samba = {
|
||||||
package = pkgs.samba4Full;
|
# package = pkgs.samba4Full;
|
||||||
|
package = pkgs.samba4;
|
||||||
# extraConfig = ''
|
# extraConfig = ''
|
||||||
# workgroup = WORKGROUP
|
# workgroup = WORKGROUP
|
||||||
# server role = standalone server
|
# server role = standalone server
|
||||||
|
|
@ -15383,7 +15384,7 @@ This app checks for different apps that I keep around in the scratchpad for quic
|
||||||
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep kittyterm || true)
|
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep kittyterm || true)
|
||||||
CHECK=$(swaymsg -t get_tree | grep kittyterm || true)
|
CHECK=$(swaymsg -t get_tree | grep kittyterm || true)
|
||||||
if [ "$CHECK" == "" ]; then
|
if [ "$CHECK" == "" ]; then
|
||||||
exec kitty -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm &
|
exec kitty --app-id kittyterm -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm &
|
||||||
sleep 1
|
sleep 1
|
||||||
fi
|
fi
|
||||||
if [ "$STR" == "" ]; then
|
if [ "$STR" == "" ]; then
|
||||||
|
|
@ -15409,7 +15410,7 @@ This app checks for different apps that I keep around in the scratchpad for quic
|
||||||
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep spotifytui || true)
|
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep spotifytui || true)
|
||||||
CHECK=$(swaymsg -t get_tree | grep spotifytui || true)
|
CHECK=$(swaymsg -t get_tree | grep spotifytui || true)
|
||||||
if [ "$CHECK" == "" ]; then
|
if [ "$CHECK" == "" ]; then
|
||||||
exec kitty -T spotifytui -o confirm_os_window_close=0 spotify_player &
|
exec kitty --add-id spotifytui -T spotifytui -o confirm_os_window_close=0 spotify_player &
|
||||||
sleep 1
|
sleep 1
|
||||||
fi
|
fi
|
||||||
if [ "$STR" == "" ]; then
|
if [ "$STR" == "" ]; then
|
||||||
|
|
@ -15436,7 +15437,7 @@ This app checks for different apps that I keep around in the scratchpad for quic
|
||||||
while :; do
|
while :; do
|
||||||
case ${1:-} in
|
case ${1:-} in
|
||||||
-k | --kitty)
|
-k | --kitty)
|
||||||
cmd=(sh -c 'kitty --app-id kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm' '&')
|
cmd=(sh -c 'kitty --app-id kittyterm -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm' '&')
|
||||||
searchapp="kittyterm"
|
searchapp="kittyterm"
|
||||||
;;
|
;;
|
||||||
-e | --element)
|
-e | --element)
|
||||||
|
|
@ -15448,7 +15449,7 @@ This app checks for different apps that I keep around in the scratchpad for quic
|
||||||
searchapp="vesktop"
|
searchapp="vesktop"
|
||||||
;;
|
;;
|
||||||
-s | --spotifyplayer)
|
-s | --spotifyplayer)
|
||||||
cmd=(sh -c 'kitty --add-id spotifytui -o confirm_os_window_close=0 spotify_player' '&')
|
cmd=(sh -c 'kitty --add-id spotifytui -T spotifytui -o confirm_os_window_close=0 spotify_player' '&')
|
||||||
searchapp="spotifytui"
|
searchapp="spotifytui"
|
||||||
;;
|
;;
|
||||||
,*) break ;;
|
,*) break ;;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
while :; do
|
while :; do
|
||||||
case ${1:-} in
|
case ${1:-} in
|
||||||
-k | --kitty)
|
-k | --kitty)
|
||||||
cmd=(sh -c 'kitty --app-id kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm' '&')
|
cmd=(sh -c 'kitty --app-id kittyterm -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm' '&')
|
||||||
searchapp="kittyterm"
|
searchapp="kittyterm"
|
||||||
;;
|
;;
|
||||||
-e | --element)
|
-e | --element)
|
||||||
|
|
@ -13,7 +13,7 @@ while :; do
|
||||||
searchapp="vesktop"
|
searchapp="vesktop"
|
||||||
;;
|
;;
|
||||||
-s | --spotifyplayer)
|
-s | --spotifyplayer)
|
||||||
cmd=(sh -c 'kitty --add-id spotifytui -o confirm_os_window_close=0 spotify_player' '&')
|
cmd=(sh -c 'kitty --add-id spotifytui -T spotifytui -o confirm_os_window_close=0 spotify_player' '&')
|
||||||
searchapp="spotifytui"
|
searchapp="spotifytui"
|
||||||
;;
|
;;
|
||||||
*) break ;;
|
*) break ;;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ if [[ $kitty -eq 1 ]]; then
|
||||||
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep kittyterm || true)
|
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep kittyterm || true)
|
||||||
CHECK=$(swaymsg -t get_tree | grep kittyterm || true)
|
CHECK=$(swaymsg -t get_tree | grep kittyterm || true)
|
||||||
if [ "$CHECK" == "" ]; then
|
if [ "$CHECK" == "" ]; then
|
||||||
exec kitty -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm &
|
exec kitty --app-id kittyterm -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm &
|
||||||
sleep 1
|
sleep 1
|
||||||
fi
|
fi
|
||||||
if [ "$STR" == "" ]; then
|
if [ "$STR" == "" ]; then
|
||||||
|
|
@ -51,7 +51,7 @@ elif [[ $spotifyplayer -eq 1 ]]; then
|
||||||
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep spotifytui || true)
|
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep spotifytui || true)
|
||||||
CHECK=$(swaymsg -t get_tree | grep spotifytui || true)
|
CHECK=$(swaymsg -t get_tree | grep spotifytui || true)
|
||||||
if [ "$CHECK" == "" ]; then
|
if [ "$CHECK" == "" ]; then
|
||||||
exec kitty -T spotifytui -o confirm_os_window_close=0 spotify_player &
|
exec kitty --add-id spotifytui -T spotifytui -o confirm_os_window_close=0 spotify_player &
|
||||||
sleep 1
|
sleep 1
|
||||||
fi
|
fi
|
||||||
if [ "$STR" == "" ]; then
|
if [ "$STR" == "" ]; then
|
||||||
|
|
|
||||||
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -2521,11 +2521,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-dev": {
|
"nixpkgs-dev": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755895490,
|
"lastModified": 1756088794,
|
||||||
"narHash": "sha256-BIqIaeWsmrSxIs/oUg5hjo0/ZU0d5pf5RkPvcQGRilc=",
|
"narHash": "sha256-aBaRmk3lNNUm/1H1Jf6hA8miLg3HsYEhcuxUXTGa2gw=",
|
||||||
"owner": "Swarsel",
|
"owner": "Swarsel",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "526b9d738fc2af2eb010b996b9b5918b46e7cf92",
|
"rev": "2d9f8b36adb25667fbc313f141444dea4d496850",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -3306,11 +3306,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_27": {
|
"nixpkgs_27": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754725699,
|
"lastModified": 1755615617,
|
||||||
"narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
|
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
|
"rev": "20075955deac2583bb12f07151c2df830ef346b4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -4491,11 +4491,11 @@
|
||||||
"systems": "systems_17"
|
"systems": "systems_17"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754895103,
|
"lastModified": 1756088962,
|
||||||
"narHash": "sha256-v8t5EjfbDurvTCBVHtFSRL+m5OfCPpTMmgzVC7h93sU=",
|
"narHash": "sha256-YkCFGvVfT3TcXTIhnzctUCft5Do8NIwTGqwToKUMY3Y=",
|
||||||
"owner": "Swarsel",
|
"owner": "Swarsel",
|
||||||
"repo": "swarsel-modules",
|
"repo": "swarsel-modules",
|
||||||
"rev": "4e779044540278b93171d846c71d2bd7823fd806",
|
"rev": "f1ceec3b17ed4b009ee9bac92c14308f57bcedb7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,8 @@ in
|
||||||
services = {
|
services = {
|
||||||
# add a user with sudo smbpasswd -a <user>
|
# add a user with sudo smbpasswd -a <user>
|
||||||
samba = {
|
samba = {
|
||||||
package = pkgs.samba4Full;
|
# package = pkgs.samba4Full;
|
||||||
|
package = pkgs.samba4;
|
||||||
# extraConfig = ''
|
# extraConfig = ''
|
||||||
# workgroup = WORKGROUP
|
# workgroup = WORKGROUP
|
||||||
# server role = standalone server
|
# server role = standalone server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue