From 1eab52cfcbcc9f510d1f5c6c1bcdd5b359971c2b Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 22 May 2020 14:39:13 +0200 Subject: Added lock screen, prettier gdb and valgrind --- .gdbinit | 2 ++ .zsh_aliases | 1 + xmonad.hs | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) 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 = [ ("", spawn "pulseaudio-ctl up") -- volume u , ("", spawn "pulseaudio-ctl mute") -- volume mute , ("", spawn "xbacklight -inc 5") -- backlight up , ("", spawn "xbacklight -dec 5") -- backlight down + , ("", spawn "slock") -- lock screen ] -- cgit