feat: super + o for openning note

This commit is contained in:
Klesh Wong 2022-05-20 15:09:34 +08:00
parent a340d8e84f
commit fd39425cb1
3 changed files with 18 additions and 7 deletions

View File

@ -34,15 +34,16 @@ export VIM_MODE=enhanced
export XDG_RUNTIME_DIR=/tmp/runtime-klesh
mkdir -p $XDG_RUNTIME_DIR
export LOCKER='i3lock -i /home/klesh/Nextcloud/wallpapers/1027.png -t --nofork'
export LOCKER='/usr/bin/i3lock -i /home/klesh/Nextcloud/wallpapers/1027.png -t --nofork'
autorandr --change --force
mpd
picomdaemon
# power save
xset 600
xss-lock $(command -v lock.sh) &
# disable screen saver / turn off monitor if inactived for 300 secs
xset s off
xset dpms 300 300 300
xss-lock -l $(command -v lock.sh) &
exec dbus-run-session -- awesome 2> /tmp/awesome.log
EOT

View File

@ -542,8 +542,12 @@ clientkeys = gears.table.join(
{description = "toggle floating", group = "client"}),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
{description = "move to master", group = "client"}),
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
{description = "move to screen", group = "client"}),
--awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
--{description = "move to screen", group = "client"}),
awful.key({ modkey, }, "o", function (c)
awful.spawn.with_shell("find ~/Nextcloud/notes/ | rofi -dmenu -title notes | xargs xdg-open")
end,
{description = "open note", group = "hotkeys"}),
--awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
--{description = "toggle keep on top", group = "client"}),
awful.key({ modkey, }, "n",

View File

@ -1,5 +1,5 @@
configuration{
combi-modi: "drun,run,window";
combi-modi: "drun,run,window,filebrowser";
modi: "drun,run,window";
lines: 5;
font: "monospace 14";
@ -15,6 +15,12 @@ configuration{
display-window: " 﩯 window";
display-Network: " 󰤨 Network";
sidebar-mode: true;
matching: "fuzzy";
filebrowser {
sorting-method: "name";
directories-first: true;
}
}
@theme "catppuccin"