aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gdbinit2
-rw-r--r--.zsh_aliases1
-rw-r--r--xmonad.hs3
3 files changed, 5 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 9422460..f8b971d 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1 +1,3 @@
set disassembly-flavor intel
+set print pretty on
+set prompt \ngdb>
diff --git a/.zsh_aliases b/.zsh_aliases
index 676940a..87ae2e9 100644
--- a/.zsh_aliases
+++ b/.zsh_aliases
@@ -7,6 +7,7 @@ alias ls="ls --color"
alias grep="grep --color=auto"
alias tree="tree -C"
alias pacman="pacman --color=auto"
+alias valgrind="colour-valgrind"
# common commands
alias less="less -N" # enable line number
diff --git a/xmonad.hs b/xmonad.hs
index 5420664..b726236 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -32,8 +32,8 @@ myLayouts = tiledBigMaster -- bigger master for code and smaller slave fo
tiledEven = Tall 1 (3 / 100) (1 / 2)
myStartupHook = do
- spawnOnce "redshift -c /home/charles/.config/redshift.conf &" -- start redshift
spawnOnce "xinput disable 'ETPS/2 Elantech Touchpad' &" -- disable touchpad
+ -- spawnOnce "redshift -c /home/charles/.config/redshift.conf &" -- start redshift
myManageHook = insertPosition End Newer -- insert new window at the end of the current layout
@@ -42,4 +42,5 @@ myKeys = [ ("<XF86AudioRaiseVolume>", spawn "pulseaudio-ctl up") -- volume u
, ("<XF86AudioMute>", spawn "pulseaudio-ctl mute") -- volume mute
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5") -- backlight up
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5") -- backlight down
+ , ("<XF86ScreenSaver>", spawn "slock") -- lock screen
]