Improve i3 configurations to work alongside Plasma

+ Add alias to restart plasmashell
+ Fix date display in conky for i3 sessions
+ Fix polybar height for better display with new font size
+ Add floating rules in i3 for Steam and Signal
+ Use i3 configuration to bind custom keys instead of xbindkeys
+ Relocate `.desktop` files to `.local/share/applications`
+ Symlink desktop files for startup applications to `.config/autostart`
This commit is contained in:
2022-01-01 16:35:25 -05:00
parent 142ce24675
commit 4cf23d7c58
11 changed files with 286 additions and 265 deletions

View File

@@ -1,64 +1,70 @@
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
# Version: 1.8.6
#
# If you edit this, do not forget to uncomment any lines that you change.
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
# "command to start"
# associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
# List of modifier:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable
# SETUP INSTRUCTIONS:
# Run `xbindkeys --key` and press a key to get the output
# Place the output under the correspondng action to trigger for that key press
# Useful for configuring media keys for laptops; They all differ
# These settings are for a Dell XPS 13 9310
# Examples of commands:
#Volume Up
"pulsemixer --change-volume +5 --max-volume 125"
m:0x0 + c:123
XF86AudioRaiseVolume
"xbindkeys_show"
control+shift + q
#Volume Down
"pulsemixer --change-volume -5"
m:0x0 + c:122
XF86AudioLowerVolume
# set directly keycode (here control + f with my keyboard)
#"xterm"
# c:41 + m:0x4
#Toggle Audio
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
m:0x0 + c:121
XF86AudioMute
# specify a mouse button
#"xterm"
# control + b:2
#Brightness Up
"brightnessctl s +2.5%"
m:0x0 + c:233
XF86MonBrightnessUp
#"xterm -geom 50x20+20+20"
# Shift+Mod2+alt + s
#
## set directly keycode (here control+alt+mod2 + f with my keyboard)
#"xterm"
# alt + c:0x29 + m:4 + mod2
#
## Control+Shift+a release event starts rxvt
#"rxvt"
# release+control+shift + a
#
## Control + mouse button 2 release event starts rxvt
#"rxvt"
# Control + b:2 + Release
#Brightness Down
"brightnessctl s 2.5%-"
m:0x0 + c:232
XF86MonBrightnessDown
# End of xbindkeys configuration
##################################
# End of xbindkeys configuration #
##################################