瀏覽代碼

More void updates

Simon Watson 3 年之前
父節點
當前提交
29297420db
共有 5 個文件被更改,包括 19 次插入5 次删除
  1. 1 1
      alacritty/alacritty.yml
  2. 2 2
      bashrc/bashrc-all
  3. 5 1
      lemonbar/swatson-casana/startLemon.sh
  4. 10 1
      openbox/casana-void/rc.xml
  5. 1 0
      xinit/swatson-casana-xinitrc

+ 1 - 1
alacritty/alacritty.yml

@@ -15,7 +15,7 @@ font:
     family: Envy Code R
     style: Bold Italic
 
-  size: 10
+  size: 8
 
 window:
   decorations: "none"

+ 2 - 2
bashrc/bashrc-all

@@ -17,8 +17,8 @@ export EDITOR=$(which vim)
 EXA_PATH=$(which exa)
 if [ ! -z "$EXA_PATH" ]; then
     alias ls="$EXA_PATH"
-    alias ll="$EXA_PATH -lah"
-    alias lg="$EXA_PATH -lah --git"
+    alias ll="$EXA_PATH -lahg"
+    alias lg="$EXA_PATH -lahg --git"
 fi
 
 BAT_PATH=$(which bat)

+ 5 - 1
lemonbar/swatson-casana/startLemon.sh

@@ -1,3 +1,7 @@
 #!/bin/bash
 
-/home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 3440x15+1920
+if [ $(xrandr --query | grep '\bconnected\b' | wc -l) -gt 1 ]; then
+	/home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 3440x15+1920
+else 
+	/home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15
+fi

+ 10 - 1
openbox/casana-void/rc.xml

@@ -251,7 +251,7 @@
       <action name="ToggleShowDesktop"/>
     </keybind>
     <!-- Keybindings for windows -->
-    <keybind key="A-F4">
+    <keybind key="Alt-S-Q">
       <action name="Close"/>
     </keybind>
     <keybind key="A-Escape">
@@ -340,6 +340,15 @@
         <command>alacritty</command>
       </action>
     </keybind>
+    <keybind key="W-space">
+	    <action name="Maximize"/>
+    </keybind>
+    <keybind key="W-S-space">
+	    <action name="Unmaximize"/>
+    </keybind>
+    <keybind key="W-S-m">
+	    <action name="Iconify"/>
+    </keybind>
   </keyboard>
   <mouse>
     <dragThreshold>1</dragThreshold>

+ 1 - 0
xinit/swatson-casana-xinitrc

@@ -1,3 +1,4 @@
+nitrogen --restore &
 xinput set-button-map 11 1 1 3 4 5 6 7 & # Disable track pad middle click
 xmodmap ~/.xmodmap & # Swap CapsLock to L_Ctrl
 exec openbox