Browse Source

Config: Small tweaks to various files

master
Riyyi 2 years ago
parent
commit
385c19a3cb
  1. 2
      .config/bspwm/bspwmrc
  2. 3
      .config/gtk-2.0/gtkrc
  3. 2
      .config/mimeapps.list
  4. 8
      .config/mpv/input.conf
  5. 4
      .config/rofi/theme-overrides.rasi
  6. 4
      .config/vim/vimrc
  7. 3
      .config/zsh/.zshrc
  8. 5
      etc/systemd/logind.conf

2
.config/bspwm/bspwmrc

@ -35,7 +35,7 @@ bspc config pointer_modifier mod4
bspc config external_rules_command "$HOME/.config/bspwm/rules" bspc config external_rules_command "$HOME/.config/bspwm/rules"
# Reset all rules # Reset all rules
bspc rule -r * bspc rule -r \*
# Open program on specific desktop # Open program on specific desktop
bspc rule -a firefox desktop="$WS1" locked=on bspc rule -a firefox desktop="$WS1" locked=on

3
.config/gtk-2.0/gtkrc

@ -1,3 +1,6 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Arc-Dark" gtk-theme-name="Arc-Dark"
gtk-icon-theme-name="Arc" gtk-icon-theme-name="Arc"
gtk-font-name="DejaVu Sans 10" gtk-font-name="DejaVu Sans 10"

2
.config/mimeapps.list

@ -38,7 +38,7 @@ text/css=emacsclient.desktop
text/html=firefox.desktop text/html=firefox.desktop
text/markdown=emacsclient.desktop text/markdown=emacsclient.desktop
text/plain=emacsclient.desktop text/plain=emacsclient.desktop
text/plain=org.gnome.gedit.desktop text/plain=emacsclient.desktop
text/x-c++src=emacsclient.desktop text/x-c++src=emacsclient.desktop
text/x-cmake=emacsclient.desktop text/x-cmake=emacsclient.desktop
text/x-csrc=emacsclient.desktop text/x-csrc=emacsclient.desktop

8
.config/mpv/input.conf

@ -16,10 +16,10 @@ Alt+Shift+LEFT add video-rotate -90
Alt+- add video-zoom -0.25 Alt+- add video-zoom -0.25
Alt+= add video-zoom 0.25 Alt+= add video-zoom 0.25
# Video pan # Video pan
Alt+LEFT add video-pan-x 0.05 Alt+LEFT add video-pan-x -0.05
Alt+RIGHT add video-pan-x -0.05 Alt+RIGHT add video-pan-x 0.05
Alt+DOWN add video-pan-y -0.05 Alt+DOWN add video-pan-y 0.05
Alt+UP add video-pan-y 0.05 Alt+UP add video-pan-y -0.05
Alt+h add video-pan-x -0.05 Alt+h add video-pan-x -0.05
Alt+l add video-pan-x 0.05 Alt+l add video-pan-x 0.05
Alt+j add video-pan-y 0.05 Alt+j add video-pan-y 0.05

4
.config/rofi/theme-overrides.rasi

@ -11,11 +11,11 @@ listview {
} }
element-icon { element-icon {
margin: 0.05em 0 0.05em 0.2em; padding: 0.05em 0 0.05em 0.2em;
size: 1em; size: 1em;
} }
element-text { element-text {
background-color: default; background-color: default;
margin: 0.05em 0 0.05em 0.3em; padding: 0.05em 0 0.05em 0.3em;
} }

4
.config/vim/vimrc

@ -144,6 +144,10 @@ endfunction
"" Keybindings "" Keybindings
" Change default behavior
nnoremap Y y$
vnoremap p pgvy
" Tab/Shift+Tab functionality " Tab/Shift+Tab functionality
nnoremap <Tab> >>_ nnoremap <Tab> >>_
nnoremap <S-Tab> <<_ nnoremap <S-Tab> <<_

3
.config/zsh/.zshrc

@ -3,6 +3,9 @@
# Disable Ctrl+S and Ctrl+Q # Disable Ctrl+S and Ctrl+Q
stty -ixon stty -ixon
# Use hard tabs
stty tab0
# Set tab width # Set tab width
tabs -4 tabs -4

5
etc/systemd/logind.conf

@ -7,9 +7,11 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the login.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details. # See logind.conf(5) for details.
[Login] [Login]
@ -27,6 +29,7 @@ HandlePowerKey=ignore
#HandleLidSwitchExternalPower=suspend #HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore #HandleLidSwitchDocked=ignore
#HandleRebootKey=reboot #HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#PowerKeyIgnoreInhibited=no #PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no

Loading…
Cancel
Save