Compare commits
5 Commits
4b34bcf98f
...
7e6479d35e
Author | SHA1 | Date |
---|---|---|
Jez Cope | 7e6479d35e | |
Jez Cope | 87785b8207 | |
Jez Cope | c42ef0d350 | |
Jez Cope | 5f5a14daef | |
Jez Cope | 31b24041d5 |
24
flake.lock
24
flake.lock
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"emacs-overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1637169894,
|
||||
"narHash": "sha256-us2CZYE+3EWE+kpoZUCKo+x325NfT7sQkclTM1+VvAk=",
|
||||
"lastModified": 1637515331,
|
||||
"narHash": "sha256-fLfycI+PrBeRaP8CRdlxj3Kkqib+YlPdQIFCUAoj56w=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "8e44c01a9cb4038806ca5941024467edb94e5f21",
|
||||
"rev": "86ceb863bc9cca9150666acce49ee2fe50e73cb0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -22,11 +22,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1637088670,
|
||||
"narHash": "sha256-d49wUICXl1iItqvk0lbMwjpUbro86mBrV6876C+SLcA=",
|
||||
"lastModified": 1637516270,
|
||||
"narHash": "sha256-qTffAQ0kWA2qXMJUVMDsgXVbzMNI0BfR78vB/4QFA+o=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5559ef002306dde0093f3d329725259cada9ed41",
|
||||
"rev": "15ae861e1bfad90e0d14106551544e9e07cbcb10",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -37,11 +37,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1636976544,
|
||||
"narHash": "sha256-9ZmdyoRz4Qu8bP5BKR1T10YbzcB9nvCeQjOEw2cRKR0=",
|
||||
"lastModified": 1637155076,
|
||||
"narHash": "sha256-26ZPNiuzlsnXpt55Q44+yzXvp385aNAfevzVEKbrU5Q=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "931ab058daa7e4cd539533963f95e2bb0dbd41e6",
|
||||
"rev": "715f63411952c86c8f57ab9e3e3cb866a015b5f2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -52,11 +52,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1637176600,
|
||||
"narHash": "sha256-TlRw4ISCq+aWjuwpBXaNwdnte+VUy/0OCMwuzq33DuQ=",
|
||||
"lastModified": 1637526496,
|
||||
"narHash": "sha256-kutOuCotz6YJlFJKbkLD22Z8eHjvVh0Z4llnBBMZbQE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "90937d095936d865365888a682989ade0b3fdf29",
|
||||
"rev": "801de698dcd0f84a4498683254294562c1a5d5cb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -43,6 +43,7 @@ with lib;
|
|||
cadence
|
||||
non
|
||||
blueman
|
||||
blanket
|
||||
|
||||
signal-desktop
|
||||
slack
|
||||
|
|
|
@ -594,7 +594,7 @@ See also [[id:18709859-c3db-4d0e-a4a0-e797b58a2e07][Capture templates]]
|
|||
("Working: Kanban"
|
||||
:title "Kanban"
|
||||
:buffers-files org-agenda-files
|
||||
:query (and (todo "DOING" "HOT" "WARM" "COOL" "TODO")
|
||||
:query (and (todo "DOING" "HOT" "WARM" "COOL" "TODO" "WAITING")
|
||||
(not (or (scheduled :from tomorrow)
|
||||
(property "Project" "t")
|
||||
(children))))
|
||||
|
@ -663,16 +663,26 @@ See also [[id:18709859-c3db-4d0e-a4a0-e797b58a2e07][Capture templates]]
|
|||
#+end_src
|
||||
|
||||
*** Handy agenda views
|
||||
:PROPERTIES:
|
||||
:ID: 722c24c5-69b8-4397-a853-f713f5e55390
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defhydra jc/agenda-views ()
|
||||
"agendas"
|
||||
("th" (org-ql-search (list jc/agenda-file-home) '(todo)
|
||||
:super-groups org-super-agenda-groups)
|
||||
"home")
|
||||
("tw" (org-ql-search (list jc/agenda-file-work) '(todo)
|
||||
:super-groups org-super-agenda-groups)
|
||||
"work"))
|
||||
("f" jc/agenda-file-set-choose
|
||||
"choose agenda file set")
|
||||
("ht"
|
||||
(org-ql-search (list jc/agenda-file-home) '(todo)
|
||||
:super-groups org-super-agenda-groups)
|
||||
"home tasks")
|
||||
("wt"
|
||||
(org-ql-search (list jc/agenda-file-work) '(todo)
|
||||
:super-groups org-super-agenda-groups)
|
||||
"work tasks")
|
||||
("wk"
|
||||
(org-ql-view "Working: Kanban")
|
||||
"work kanban"))
|
||||
|
||||
(map! :leader :n "oa" #'jc/agenda-views/body)
|
||||
#+end_src
|
||||
|
|
|
@ -17,8 +17,7 @@ let
|
|||
cmds = rec {
|
||||
swaymsg = pkgs.sway + /bin/swaymsg;
|
||||
kitty = pkgs.kitty + /bin/kitty;
|
||||
fuzzel = pkgs.fuzzel + /bin/fuzzel;
|
||||
dmenu = "${fuzzel} --dmenu";
|
||||
wofi = pkgs.wofi + /bin/wofi;
|
||||
swayidle = pkgs.swayidle + /bin/swayidle;
|
||||
playerctl = pkgs.playerctl + /bin/playerctl;
|
||||
pamixer = pkgs.pamixer + /bin/pamixer;
|
||||
|
@ -30,9 +29,11 @@ let
|
|||
|
||||
term = "${kitty} --single-instance";
|
||||
initial-term = "${kitty} --session ~/.config/kitty/sessions/default.conf";
|
||||
menu = "${fuzzel}";
|
||||
passmenu = "${gopass} list -f | ${dmenu} | xargs ${gopass} show -c";
|
||||
oathmenu = "ykman oath code -s $(ykman oath list | ${dmenu}) | wl-copy";
|
||||
menu = "${wofi} --show drun";
|
||||
passmenu =
|
||||
"${gopass} list -f | ${wofi} --show dmenu | xargs ${gopass} show -c";
|
||||
oathmenu =
|
||||
"ykman oath code -s $(ykman oath list | wofi --show dmenu) | wl-copy";
|
||||
screenshot = ''${grim} -g "$(${slurp})"'';
|
||||
idle = ''
|
||||
${swayidle} -w \
|
||||
|
@ -118,6 +119,10 @@ in {
|
|||
criteria = { app_id = "yubico.com."; };
|
||||
command = "floating enable";
|
||||
}
|
||||
{
|
||||
criteria = { title = ".*[Zz]oom.*"; };
|
||||
command = "floating enable";
|
||||
}
|
||||
];
|
||||
|
||||
input."type:keyboard" = {
|
||||
|
@ -256,5 +261,5 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ wofi fuzzel light wl-clipboard ];
|
||||
home.packages = with pkgs; [ wofi light wl-clipboard ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue