Compare commits
10 Commits
ca318915a7
...
2ea5db45fb
Author | SHA1 | Date | |
---|---|---|---|
|
2ea5db45fb
|
||
|
2c8cf0dc9c
|
||
|
a5c0b71e8b
|
||
|
b8011a4298
|
||
|
88a403e720
|
||
|
057835766c
|
||
|
ae0ae4fd00
|
||
|
04477e54f9
|
||
|
b51f6da369
|
||
|
749fed5a49
|
@@ -1,7 +1,9 @@
|
|||||||
# Aliases
|
# Aliases
|
||||||
|
alias cat='bat'
|
||||||
alias clean-aurutils-cache='find ~/.cache/aurutils/sync -type d -name .git -execdir git clean -xi \;'
|
alias clean-aurutils-cache='find ~/.cache/aurutils/sync -type d -name .git -execdir git clean -xi \;'
|
||||||
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||||
alias fastfetch='hyfetch'
|
alias cookie='fortune /usr/share/fortune/asoiaf /usr/share/fortune/startrek | cowthink | lolcat -p 2.0 -F 0.3 -a -d 1'
|
||||||
|
alias fastfetch='hyfetch --distro=arch'
|
||||||
alias ghc='stack ghc'
|
alias ghc='stack ghc'
|
||||||
alias ghci='stack ghci'
|
alias ghci='stack ghci'
|
||||||
alias hoogle='stack hoogle'
|
alias hoogle='stack hoogle'
|
||||||
@@ -13,7 +15,8 @@ alias sort='sort -n'
|
|||||||
alias ssh='kitten ssh'
|
alias ssh='kitten ssh'
|
||||||
alias sudo='doas'
|
alias sudo='doas'
|
||||||
alias sudoedit='doas rvim'
|
alias sudoedit='doas rvim'
|
||||||
alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --tint 0x232634 --height 18 --monitor 1'
|
#alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --tint 0x232634 --height 18 --monitor 1'
|
||||||
|
alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --tint 0x232634 --height 18 --monitor 1'
|
||||||
alias trc='trash-empty'
|
alias trc='trash-empty'
|
||||||
alias trl='trash-list'
|
alias trl='trash-list'
|
||||||
alias trm='trash-rm'
|
alias trm='trash-rm'
|
||||||
|
@@ -9,7 +9,7 @@ if status is-interactive
|
|||||||
|
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|
||||||
fortune /usr/share/fortune/anarchism
|
cookie
|
||||||
|
|
||||||
calcurse -d 7
|
calcurse -d 7
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ myTerminal :: String
|
|||||||
myTerminal = "kitty"
|
myTerminal = "kitty"
|
||||||
|
|
||||||
myBrowser :: String
|
myBrowser :: String
|
||||||
myBrowser = "vivaldi"
|
myBrowser = "zen-browser"
|
||||||
|
|
||||||
myNormBorderColor :: String
|
myNormBorderColor :: String
|
||||||
myNormBorderColor = "#1f2335"
|
myNormBorderColor = "#1f2335"
|
||||||
@@ -132,10 +132,11 @@ myWorkspaces :: [String]
|
|||||||
myWorkspaces = ["1:\xf489 ", "2:\xe743 ", "3:\xf1b6 ", "4:\xf10b ", "5:\xead9 ", "6:\xeb69 ", "7:\xea7a "] ++ map show [8, 9]
|
myWorkspaces = ["1:\xf489 ", "2:\xe743 ", "3:\xf1b6 ", "4:\xf10b ", "5:\xead9 ", "6:\xeb69 ", "7:\xea7a "] ++ map show [8, 9]
|
||||||
|
|
||||||
-- Layout
|
-- Layout
|
||||||
myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myGamesLayout myDefaultLayout
|
myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myGamesLayout $ onWorkspace "5:\xead9 " myVideoLayout myDefaultLayout
|
||||||
where
|
where
|
||||||
myWebLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ myTabbed ||| tiled ||| Mirror tiled ||| threeCol ||| Grid ||| spiral 0.856
|
myWebLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ myTabbed ||| tiled ||| Mirror tiled ||| threeCol ||| Grid ||| spiral 0.856
|
||||||
myGamesLayout = avoidStruts $ smartBorders Full
|
myGamesLayout = avoidStruts $ smartBorders Full
|
||||||
|
myVideoLayout = avoidStruts $ smartBorders Full
|
||||||
myDefaultLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ tiled ||| Mirror tiled ||| myTabbed ||| threeCol ||| Grid ||| spiral 0.856
|
myDefaultLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ tiled ||| Mirror tiled ||| myTabbed ||| threeCol ||| Grid ||| spiral 0.856
|
||||||
threeCol =
|
threeCol =
|
||||||
renamed [Replace "ThreeCol"] $
|
renamed [Replace "ThreeCol"] $
|
||||||
@@ -156,6 +157,7 @@ myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myG
|
|||||||
|
|
||||||
-- Xmobar
|
-- Xmobar
|
||||||
xmobar1 = statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmobarPP)
|
xmobar1 = statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmobarPP)
|
||||||
|
|
||||||
xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_laptop" (pure myXmobarPP)
|
xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_laptop" (pure myXmobarPP)
|
||||||
|
|
||||||
myXmobarPP :: PP
|
myXmobarPP :: PP
|
||||||
@@ -191,13 +193,12 @@ myStartupHook = do
|
|||||||
-- spawnOnce "mons -e left && ~/.fehbg"
|
-- spawnOnce "mons -e left && ~/.fehbg"
|
||||||
spawnOnce $
|
spawnOnce $
|
||||||
"xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
|
"xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
|
||||||
++ " && xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55"
|
++ " && picom -b -c"
|
||||||
spawnOnce "xautolock -time 10 -locker slock -detectsleep"
|
spawnOnce "xautolock -time 10 -locker slock -detectsleep"
|
||||||
spawnOnce
|
spawnOnce
|
||||||
"trayer -l --edge top --align right --SetDockType true \
|
"trayer -l --edge top --align right --SetDockType true \
|
||||||
\--SetPartialStrut true --expand true --widthtype request \
|
\--SetPartialStrut true --expand true --widthtype request \
|
||||||
\--transparent true --tint 0x232634 --height 18 \
|
\--tint 0x232634 --height 18 --monitor 1"
|
||||||
\--monitor 1"
|
|
||||||
spawnOnce "redshift-gtk"
|
spawnOnce "redshift-gtk"
|
||||||
spawnOnce "udiskie"
|
spawnOnce "udiskie"
|
||||||
spawnOnce "nm-applet"
|
spawnOnce "nm-applet"
|
||||||
@@ -208,6 +209,7 @@ myStartupHook = do
|
|||||||
spawnOnce "numlockx"
|
spawnOnce "numlockx"
|
||||||
spawnOnce "blueman-applet"
|
spawnOnce "blueman-applet"
|
||||||
spawnOnce "mousemove"
|
spawnOnce "mousemove"
|
||||||
|
spawnOnce "adb start-server"
|
||||||
|
|
||||||
-- Manage hook
|
-- Manage hook
|
||||||
myManageHook :: ManageHook
|
myManageHook :: ManageHook
|
||||||
@@ -235,13 +237,15 @@ myManageHook =
|
|||||||
className =? "mpv" --> doFullFloat,
|
className =? "mpv" --> doFullFloat,
|
||||||
className =? "mpv" --> doShift "5:\xead9 ",
|
className =? "mpv" --> doShift "5:\xead9 ",
|
||||||
className =? myTerminal --> doShift "1:\xf489 ",
|
className =? myTerminal --> doShift "1:\xf489 ",
|
||||||
className =? "scrcpy" --> doShift "6:\xeb69 ",
|
className =? "scrcpy" --> doShift "5:\xead9 ",
|
||||||
className =? "steam" --> doShift "3:\xf1b6 ",
|
className =? "steam" --> doShift "3:\xf1b6 ",
|
||||||
className =? "steam_app_109600" --> doFloat,
|
className =? "steam_app_109600" --> doFloat,
|
||||||
|
className =? "steam_app_109600" --> doShift "3:\xf1b6 ",
|
||||||
className =? "transmission-gtk" --> doShift "2:\xe743 ",
|
className =? "transmission-gtk" --> doShift "2:\xe743 ",
|
||||||
className =? "VirtualBox Machine" --> doShift "7:\xea7a ",
|
className =? "VirtualBox Machine" --> doShift "7:\xea7a ",
|
||||||
className =? "VirtualBox Machine" --> doFullFloat,
|
className =? "VirtualBox Machine" --> doFullFloat,
|
||||||
className =? "VirtualBox Manager" --> doShift "7:\xea7a ",
|
className =? "VirtualBox Manager" --> doShift "7:\xea7a ",
|
||||||
|
className =? "zen" --> doShift "2:\xe743 ",
|
||||||
isDialog --> doFloat,
|
isDialog --> doFloat,
|
||||||
isFullscreen --> doFullFloat
|
isFullscreen --> doFullFloat
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user