Commit Graph

60 Commits

Author SHA1 Message Date
druckdev
c44dea2beb Add support for directories with spaces
Add support for directories with spaces when launching the
scratchpad-terminal.
NOTE: The exact same command but with 6 backlashes instead of 8 seems to
work just fine. That makes no sense in my head. Either I'm missing
something or there is a bug in the escaping of backslashes in i3.
2020-07-14 14:28:50 +02:00
druckdev
c4d4721c0c Scratchpad-terminal changes
Open the scratchpad-terminal in the same working directory as the
current window. This makes sense since I use it for small and quick
tasks that often need to take place in the same place.

Start the terminal in a separate workspace before switching back so that
the window does not break the workspaces layout or its content.
The script has to wait shortly so that the window is "done" (made
floating, sticky, etc.). This is a very dirty hack and should be
replaced in the future.
2020-07-03 02:51:05 +02:00
druckdev
100882f912 Combine keyboard commands
Combine keyboard related commands to have control over the order of
execution. Sometimes the layout was not set properly since xmodmap takes
a while an then xcape gets messed up.
2020-07-03 02:04:55 +02:00
druckdev
2f808717ec Rework keyboard layout
Instead of using an own xkb layout, modify the layout with xmodmap.
Use xcape to use Caps_Lock as Ctrl and Escape depending on if it was
pressed in combination vs alone.
Add hints for xinput.
2020-06-30 02:42:23 +02:00
druckdev
1c91a32ef9 Start gnome-keyring with window manager
Replace calling gnome-keyring-daemon in every zsh instance with just
sourcing the file the daemon returns on startup in i3.
TODO: Use pam for that
2020-06-27 08:20:48 +02:00
druckdev
6cdabb78be Multi monitor support
When restarting i3 check for connected second monitor: scale it and
restart polybar if there is one.
Put polybar tray on the main monitor.
Do not kill polybar and relaunch it when restarting i3, but restart it
using ipc (much faster).
2020-06-25 23:20:08 +02:00
druckdev
e7427ba925 Add scripts collection
Add a couple of utility scripts.
2020-06-24 16:56:47 +02:00
druckdev
31a4bc0768 Use st as terminal
Switch from gnome-terminal to st (see fork on github).
Open new terminal by default in the same working-dir as current window.
Modify scratchpad-terminal to work with every terminal.
2020-06-24 16:05:34 +02:00
druckdev
b85de5d781 change backlight in steps of 5% 2020-04-28 01:41:44 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00