Compare commits
2 commits
cf328ce296
...
cc80c71f88
Author | SHA1 | Date | |
---|---|---|---|
cc80c71f88 | |||
eb0b01a17d |
2 changed files with 20 additions and 15 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -247,11 +247,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743420942,
|
"lastModified": 1744366945,
|
||||||
"narHash": "sha256-b/exDDQSLmENZZgbAEI3qi9yHkuXAXCPbormD8CSJXo=",
|
"narHash": "sha256-OuLhysErPHl53BBifhesrRumJNhrlSgQDfYOTXfgIMg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "de6fc5551121c59c01e2a3d45b277a6d05077bc4",
|
"rev": "1fe3cc2bc5d2dc9c81cb4e63d2f67c1543340df1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -263,11 +263,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743987495,
|
"lastModified": 1744492897,
|
||||||
"narHash": "sha256-46T2vMZ4/AfCK0Y2OjlFzJPxmdpP8GtsuEqSSJv3oe4=",
|
"narHash": "sha256-qqKO4FOo/vPmNIaRPcLqwfudUlQ29iNdI1IbCZfjmxs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "db8f4fe18ce772a9c8f3adf321416981c8fe9371",
|
"rev": "86484f6076aac9141df2bfcddbf7dcfce5e0c6bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -279,11 +279,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-full": {
|
"nixpkgs-full": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743975612,
|
"lastModified": 1744440957,
|
||||||
"narHash": "sha256-o4FjFOUmjSRMK7dn0TFdAT0RRWUWD+WsspPHa+qEQT8=",
|
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a880f49904d68b5e53338d1e8c7bf80f59903928",
|
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -190,15 +190,16 @@ in
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
set $menu fuzzel
|
set $menu fuzzel
|
||||||
|
set $wallpaper "~/lib/pictures/wallpaper.jpg"
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c ${background}' \
|
timeout 300 'swaylock -f -i $wallpaper -s fill' \
|
||||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
before-sleep 'swaylock -f -c ${background}'
|
before-sleep 'swaylock -f -i $wallpaper -s fill'
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
@ -395,6 +396,10 @@ in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Gaps between multiple tiling windows
|
||||||
|
gaps inner 10
|
||||||
|
smart_gaps on
|
||||||
|
|
||||||
bindsym $mod+grave exec busctl --user call org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.KeePassXC.MainWindow lockAllDatabases && swaylock -c #fdf6e3
|
bindsym $mod+grave exec busctl --user call org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.KeePassXC.MainWindow lockAllDatabases && swaylock -c #fdf6e3
|
||||||
|
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
|
@ -409,7 +414,7 @@ in
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
exec sleep 5; systemctl --user restart kanshi.service
|
exec sleep 5; systemctl --user restart kanshi.service
|
||||||
exec sleep 5; output * bg ~/tmp/51761494940_7f9d6ab0e3_o.jpg fill
|
exec sleep 5; swaymsg output '*' bg $wallpaper fill
|
||||||
'';
|
'';
|
||||||
home.file.".config/sway/status".source = ./status;
|
home.file.".config/sway/status".source = ./status;
|
||||||
home.file.".config/kanshi/config".text = ''
|
home.file.".config/kanshi/config".text = ''
|
||||||
|
@ -420,9 +425,9 @@ in
|
||||||
profile Docked {
|
profile Docked {
|
||||||
output eDP-1 disable
|
output eDP-1 disable
|
||||||
output "LG Electronics LG HDR 4K 0x000354D1" {
|
output "LG Electronics LG HDR 4K 0x000354D1" {
|
||||||
enable
|
enable
|
||||||
scale 1.2
|
scale 1.4
|
||||||
position 0,0
|
position 0,0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue