alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
qtile: add screenshot binding
author
lassulus
date
2 years ago
(Dec 5, 2023, 8:19 PM CET)
commit
55ca069f
55ca069f0988155ed0bcef41dc14a9dac7d12793
parent
025aae46
025aae4691948a37f7565bcc93fa1dd937a5d1c3
+4
2 changed files
Expand all
Collapse all
Unified
Split
2configs
desktops
lib
wayland.nix
qtile
qtile.py
+3
2configs/desktops/lib/wayland.nix
View file
Reviewed
···
87
87
)
88
88
echo -n "$password" | ${pkgs.wtype}/bin/wtype -d 10 -s 400 -
89
89
'')
90
90
+
(pkgs.writers.writeDashBin "screenshot" ''
91
91
+
${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy
92
92
+
'')
90
93
];
91
94
92
95
environment.pathsToLink = [
+1
2configs/desktops/qtile/qtile.py
View file
Reviewed
···
101
101
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
102
102
Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"),
103
103
Key([mod], "F1", lazy.group["scratchpad"].dropdown_toggle("term")),
104
104
+
Key([mod], "i", lazy.spawn("screenshot")),
104
105
Key([mod], "p", lazy.spawn("pass_menu")),
105
106
Key([mod, "shift"], "p", lazy.spawn("otpmenu")),
106
107
Key([mod], "v", goto_workspace, desc="Switch to group"),