1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 08:02:19 +00:00

Simplified monitor setup and locking

This commit is contained in:
J. Fernando Sánchez
2017-12-05 20:27:11 +01:00
parent 074f9bcb3c
commit 0cd98dd54b
13 changed files with 38 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ bindsym Control+Mod1+g exec --no-startup-id gvim
bindsym Control+Mod1+e exec --no-startup-id myemacs -c
bindsym $mod+Tab exec --no-startup-id winmenu.sh
bindsym Mod1+Tab exec --no-startup-id winmenu.sh
bindsym $mod+p [class="Nemo"] scratchpad show
bindsym $mod+p [class="Nemo|Thunar|Ranger"] scratchpad show
bindsym $mod+period [instance="emacs" title="^(?!myagenda$)"] scratchpad show
bindsym $mod+shift+comma exec --no-startup-id myemacs -nc --eval '(progn (find-file "~/Dropbox/Todo/org/rules.org") (org-agenda-list) (set-frame-name "myagenda"))'
bindsym $mod+c exec myemacs -n -e '(make-capture-frame)'
@@ -66,11 +66,12 @@ bindsym $mod+o exec --no-startup-id filemenu $HOME
# Arandr magic
bindsym Mod1+F5 exec --no-startup-id monitors single
bindsym Mod1+F6 exec --no-startup-id monitors single HDMI
bindsym Mod1+F7 exec --no-startup-id monitors dual mirror
bindsym Mod1+F8 exec --no-startup-id monitors dual home
bindsym Mod1+F6 exec --no-startup-id monitors single-hdmi
bindsym Mod1+F7 exec --no-startup-id monitors dual-mirror
bindsym Mod1+F8 exec --no-startup-id monitors dual-home
bindsym Mod1+F9 exec --no-startup-id monitors dual
bindsym Mod1+F10 exec --no-startup-id xrandr --auto
bindsym Mod1+F11 exec --no-startup-id monitors # auto
# Move to displays
bindsym $mod+Mod1+j move workspace to output down
@@ -262,7 +263,7 @@ for_window [class="^termite"] border 1px
for_window [class="^lxterminal"] border 1px
for_window [class="^xfce4-terminal"] border 1px
for_window [title="^scratch"] move to scratchpad
for_window [class="^Nemo" title="Home"] move to scratchpad;
for_window [class="^Nemo|Thunar|Ranger"] move to scratchpad;
#KDE
for_window [class="Plasma-desktop"] border none
for_window [class="krunner"] border none
@@ -314,7 +315,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id pasystray
exec --no-startup-id syndaemon -i 0.5 -d
exec --no-startup-id i3-sensible-terminal --title=scratch -e 'tmux attach'
exec --no-startup-id xautolock -time 10 -corners "----" -locker 'i3lock -t -c 000000 -i ~/Images/Wallpapers/wallpaper.png'
exec --no-startup-id i3-exit.sh autolock
exec --no-startup-id xfce4-power-manager
exec --no-startup-id xfsettingsd --sm-client-disable &
exec --no-startup-id clipit -n

View File

@@ -60,12 +60,6 @@ separator=true
interval=30
instance=MemFree:
[memory]
label=MemTotal
separator=true
interval=30
instance=MemTotal:
#[memory]
#label=SWAP
#instance=swap

View File

@@ -3,4 +3,4 @@ SCRIPT_DIR=/usr/lib/i3blocks
if [ ! -d "$SCRIPT_DIR" ]; then
SCRIPT_DIR=/usr/share/i3blocks
fi
SCRIPT_DIR=$SCRIPT_DIR i3blocks -c $HOME/.config/i3/i3blocks.conf
CONTRIB_PATH=$HOME/.config/i3/i3blocks-contrib SCRIPT_DIR=$SCRIPT_DIR i3blocks -c $HOME/.config/i3/i3blocks.conf