Various linux config items
This commit is contained in:
parent
8eba18baae
commit
231992ba22
3 changed files with 3 additions and 2 deletions
|
|
@ -3,5 +3,6 @@
|
||||||
for id in `xinput --list|grep 'MX Master 2S'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do
|
for id in `xinput --list|grep 'MX Master 2S'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do
|
||||||
xinput set-prop $id "Device Accel Velocity Scaling" 1
|
xinput set-prop $id "Device Accel Velocity Scaling" 1
|
||||||
xinput set-prop $id "Device Accel Constant Deceleration" 0.8
|
xinput set-prop $id "Device Accel Constant Deceleration" 0.8
|
||||||
|
# xinput set-prop $id "Evdev Scrolling Distance" -1 -1 -1
|
||||||
xinput set-button-map $id 1 2 3 5 4 # "natural" scrolling
|
xinput set-button-map $id 1 2 3 5 4 # "natural" scrolling
|
||||||
done
|
done
|
||||||
|
|
|
||||||
2
polybar
2
polybar
|
|
@ -66,7 +66,7 @@ format-prefix = " "
|
||||||
format-prefix-foreground = ${colors.foreground-alt}
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
format-prefix-underline = ${colors.secondary}
|
format-prefix-underline = ${colors.secondary}
|
||||||
|
|
||||||
label-layout = %layout%
|
label-layout = %name%
|
||||||
label-layout-underline = ${colors.secondary}
|
label-layout-underline = ${colors.secondary}
|
||||||
|
|
||||||
label-indicator-padding = 2
|
label-indicator-padding = 2
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import XMonad.Util.EZConfig
|
||||||
lightBlue = "#66aaff"
|
lightBlue = "#66aaff"
|
||||||
|
|
||||||
main = xmonad $ docks $ ewmh $ defaultConfig
|
main = xmonad $ docks $ ewmh $ defaultConfig
|
||||||
{ terminal = "urxvtc"
|
{ terminal = "alacritty"
|
||||||
, modMask = mod4Mask
|
, modMask = mod4Mask
|
||||||
, workspaces = [ "α", "β", "γ" ]
|
, workspaces = [ "α", "β", "γ" ]
|
||||||
, borderWidth = 2
|
, borderWidth = 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue