Compare commits

..

4 commits

Author SHA1 Message Date
4de8949b5c
feat: deprioritize firefox for playerctl 2024-10-06 13:42:22 -07:00
822d02f320
feat: add full screen screenshot keybind 2024-10-06 13:42:08 -07:00
9845da230c
refactor: inline swappy, grim, slurp instead of expecting in path
add playerctl priority with firefox last
2024-10-06 13:42:00 -07:00
fe47f87909
flake.lock: Update
Flake lock file updates:

• Updated input 'catppuccin':
    'github:catppuccin/nix/630b559cc1cb4c0bdd525af506935323e4ccd5d1' (2024-09-21)
  → 'github:catppuccin/nix/bad96d3fabf8d2e8f0bf0c2cb899a9fccf01ea03' (2024-10-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d' (2024-09-26)
  → 'github:nix-community/home-manager/509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e' (2024-10-04)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/f65e9de995644b741eed49bdb94779d52561e120' (2024-10-01)
  → 'github:homebrew/homebrew-cask/d4057844e065ca81dec4748a7b570656d9ad2d92' (2024-10-06)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/70d2ce454d084b5327ac5dce47b5b89b47976f46' (2024-10-01)
  → 'github:homebrew/homebrew-core/0b3b5cd7412ec5f2c468e7ae27f953aed2e68078' (2024-10-06)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/f61d5f2051a387a15817007220e9fb3bbead57b3' (2024-09-30)
  → 'github:LnL7/nix-darwin/8c8388ade72e58efdeae71b4cbb79e872c23a56b' (2024-10-03)
• Updated input 'nix-homebrew':
    'github:zhaofengli-wip/nix-homebrew/0afc51fd86693c73e4b60be8ed8c782c4c09b4cc' (2024-06-30)
  → 'github:zhaofengli-wip/nix-homebrew/86af3bb8f7d365eb496ef5553646ec2fe06a3662' (2024-10-05)
• Updated input 'nix-homebrew/brew-src':
    'github:Homebrew/brew/3f08c75e7b950d4340dab462f3e7f77e8093fa2b' (2024-06-11)
  → 'github:Homebrew/brew/916044581862c32fc2365e8e9ff0b1507a98925e' (2024-09-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9' (2024-09-29)
  → 'github:nixos/nixpkgs/bc947f541ae55e999ffdb4013441347d83b00feb' (2024-10-04)
• Updated input 'spicetify':
    'github:Gerg-L/spicetify-nix/f190dd954b30e6830939fb764cac85c773846435' (2024-10-01)
  → 'github:Gerg-L/spicetify-nix/f532f68a72549f8ee585aa2f6f7dbe9e2ce5a45c' (2024-10-06)
2024-10-06 13:13:42 -07:00
2 changed files with 33 additions and 35 deletions

View file

@ -41,27 +41,27 @@
"brew-src": { "brew-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1718075954, "lastModified": 1727016223,
"narHash": "sha256-4TeUhv5VLEufP+Z/NkKnUk4NUaf59cMsj6NvsVbE+8w=", "narHash": "sha256-iZqd91Cp4O02BU6/eBZ0UZgJN8AlwH+0geQUpqF176E=",
"owner": "Homebrew", "owner": "Homebrew",
"repo": "brew", "repo": "brew",
"rev": "3f08c75e7b950d4340dab462f3e7f77e8093fa2b", "rev": "916044581862c32fc2365e8e9ff0b1507a98925e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Homebrew", "owner": "Homebrew",
"ref": "4.3.5", "ref": "4.3.24",
"repo": "brew", "repo": "brew",
"type": "github" "type": "github"
} }
}, },
"catppuccin": { "catppuccin": {
"locked": { "locked": {
"lastModified": 1726952185, "lastModified": 1727910534,
"narHash": "sha256-l/HbsQjJMT6tlf8KCooFYi3J6wjIips3n6/aWAoLY4g=", "narHash": "sha256-IjdGPDnBNk3r5h02kiPTKUOfn+UiKNWlhy/ozC0NgyQ=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "630b559cc1cb4c0bdd525af506935323e4ccd5d1", "rev": "bad96d3fabf8d2e8f0bf0c2cb899a9fccf01ea03",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -457,11 +457,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727383923, "lastModified": 1728041527,
"narHash": "sha256-4/vacp3CwdGoPf8U4e/N8OsGYtO09WTcQK5FqYfJbKs=", "narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ffe2d07e771580a005e675108212597e5b367d2d", "rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -495,11 +495,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1727802773, "lastModified": 1728241543,
"narHash": "sha256-quWyUEDhkvO/RUwUxCIH/wbvlwda0B21nT9vFLfiiwM=", "narHash": "sha256-upd0HVVTeqrRR6ASqXZ1BlPDItyYdXbHqTlcrVcGdgc=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "f65e9de995644b741eed49bdb94779d52561e120", "rev": "d4057844e065ca81dec4748a7b570656d9ad2d92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -511,11 +511,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1727807267, "lastModified": 1728245234,
"narHash": "sha256-0iRywe9Gr+MgboxjylPekcR8RkcM6MPU/R8lEbM+ozc=", "narHash": "sha256-c6wS4i8ypu1Ry1+vhzggMjWxJK67ZA9416yaJZAX2TU=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "70d2ce454d084b5327ac5dce47b5b89b47976f46", "rev": "0b3b5cd7412ec5f2c468e7ae27f953aed2e68078",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -609,11 +609,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727707210, "lastModified": 1727999297,
"narHash": "sha256-8XZp5XO2FC6INZEZ2WlwErtvFVpl45ACn8CJ2hfTA0Y=", "narHash": "sha256-LTJuQPCsSItZ/8TieFeP30iY+uaLoD0mT0tAj1gLeyQ=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "f61d5f2051a387a15817007220e9fb3bbead57b3", "rev": "8c8388ade72e58efdeae71b4cbb79e872c23a56b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -672,11 +672,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719720211, "lastModified": 1728153462,
"narHash": "sha256-FNK5ZxmNC+V/wOuioc5HqkUy0ld4eW3NqcsZHLYg9HI=", "narHash": "sha256-jOF15LIzDf7SIkbjzhKq9nlnkS1aFTUCiIo92ipXMY4=",
"owner": "zhaofengli-wip", "owner": "zhaofengli-wip",
"repo": "nix-homebrew", "repo": "nix-homebrew",
"rev": "0afc51fd86693c73e4b60be8ed8c782c4c09b4cc", "rev": "86af3bb8f7d365eb496ef5553646ec2fe06a3662",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -728,11 +728,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1727634051, "lastModified": 1728018373,
"narHash": "sha256-S5kVU7U82LfpEukbn/ihcyNt2+EvG7Z5unsKW9H/yFA=", "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "06cf0e1da4208d3766d898b7fdab6513366d45b9", "rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -922,11 +922,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727756255, "lastModified": 1728188225,
"narHash": "sha256-C+Gmw5CsUXel9T/UYA+QEJPjF8m+2clv3uiKEVCSkNs=", "narHash": "sha256-3Mf0XHpECwSxVDb7VYmiD7mqcMA3FcVVfqs3LLZHdaA=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "f190dd954b30e6830939fb764cac85c773846435", "rev": "f532f68a72549f8ee585aa2f6f7dbe9e2ce5a45c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,9 +5,6 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
wl-clipboard wl-clipboard
grim
slurp
swappy
swaybg swaybg
bibata-cursors bibata-cursors
@ -103,7 +100,8 @@
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher "$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher "$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot ''$mod, P, exec, ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.swappy}/bin/swappy -f -'' # Screenshot
''$mod+Shift, P, exec, ${pkgs.grim}/bin/grim - | ${pkgs.swappy}/bin/swappy -f -'' # Screenshot
"$mod, Backspace, exec, pkill -x wlogout || wlogout" # show logout menu "$mod, Backspace, exec, pkill -x wlogout || wlogout" # show logout menu
@ -111,9 +109,9 @@
# Media controls # Media controls
",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t" ",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t"
",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause" ",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox play-pause"
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next" ",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox next"
",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl previous" ",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox previous"
] ]
++ ( ++ (
if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ] if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ]