summaryrefslogtreecommitdiffstats
path: root/pissrc.example.lua
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-05-18 15:23:51 +0330
committercoast <coasteen@proton.me>2026-05-18 15:23:51 +0330
commit59167a7529e37a82ad7f1d541e9b91745608f8aa (patch)
tree3a5fe62fe85150272c5fab25462392ec1bce18cc /pissrc.example.lua
parent0193f647eff03696308377d0847967b51ed0db47 (diff)
downloadchd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.gz
chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.bz2
chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.xz
chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.zst
INIT 2 GITHUB
Diffstat (limited to 'pissrc.example.lua')
-rwxr-xr-xpissrc.example.lua47
1 files changed, 0 insertions, 47 deletions
diff --git a/pissrc.example.lua b/pissrc.example.lua
deleted file mode 100755
index 3097c79..0000000
--- a/pissrc.example.lua
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/lua
-
--- NOTE THAT THE CONFIG DOES __NOT__ HAVE TO BE IN LUA. Do whatever you want!
-
-local function bind(key, cmd)
- os.execute(string.format('piss bind "%s" "%s"', key, cmd))
-end
-
-bind("Super + Ctrl + l", "slock")
-bind("Super + Return", "st")
-bind("Super + s", "bspc node -c")
-bind("Super + Ctrl + r", "bspc wm -r")
-
-for _, dir in ipairs({
- { "h", "west" },
- { "j", "south" },
- { "k", "north" },
- { "l", "east" }
-}) do
- bind("Super + " .. dir[1], "bspc node -f " .. dir[2])
-end
-
-for _, dir in ipairs({
- { "h", "west" },
- { "j", "south" },
- { "k", "north" },
- { "l", "east" }
-}) do
- bind("Super + Shift + " .. dir[1], "bspc node -s " .. dir[2])
-end
-
-bind("Super + p", "pkill picom && picom --backend glx & disown")
-bind("Super + Shift + p", "pkill piss && piss ~/.config/piss/pissrc & disown")
-
-local desktops = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" }
-for i = 1, 9 do
- bind("Super + " .. i, "bspc desktop -f " .. desktops[i])
- bind("Super + Shift + " .. i, "bspc node -d " .. desktops[i])
-end
-
-bind("Super + r", "rofi -show drun -config ~/.config/rofi/gruvbox.rasi")
-bind("Super + Shift + Return", "rofi -show run -config ~/.config/rofi/gruvbox.rasi")
-bind("Super + Shift + q", "bspc quit")
-bind("Super + Shift + s", "flameshot gui")
-bind("Super + f", "pcmanfm")
-bind("Super + space", "bspc node -t floating")
-bind("Super + Shift + space", "bspc node -t tiled")