Compare commits

..

10 Commits

Author SHA1 Message Date
Daniele Fucini
2ea5db45fb Update XMonad layouts 2025-10-18 15:17:36 +02:00
Daniele Fucini
2c8cf0dc9c Update bash aliases 2025-08-30 21:46:50 +02:00
Daniele Fucini
a5c0b71e8b Update trayer 2025-08-14 20:19:53 +02:00
Daniele Fucini
b8011a4298 Update shell aliases 2025-07-29 20:36:41 +02:00
Daniele Fucini
88a403e720 Update XMonad config 2025-06-21 14:29:49 +02:00
Daniele Fucini
057835766c Update bash aliases 2025-03-25 18:20:46 +01:00
Daniele Fucini
ae0ae4fd00 Update XMonad autostart section 2025-03-20 09:36:48 +01:00
Daniele Fucini
04477e54f9 Update aliases 2025-03-20 09:36:27 +01:00
Daniele Fucini
b51f6da369 Update aliases and fish config 2025-03-17 21:26:11 +01:00
Daniele Fucini
749fed5a49 Update XMonad config 2025-03-17 21:24:26 +01:00
3 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,9 @@
# Aliases
alias cat='bat'
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 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 ghci='stack ghci'
alias hoogle='stack hoogle'
@@ -13,7 +15,8 @@ alias sort='sort -n'
alias ssh='kitten ssh'
alias sudo='doas'
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 trl='trash-list'
alias trm='trash-rm'

View File

@@ -9,7 +9,7 @@ if status is-interactive
fastfetch
fortune /usr/share/fortune/anarchism
cookie
calcurse -d 7

View File

@@ -47,7 +47,7 @@ myTerminal :: String
myTerminal = "kitty"
myBrowser :: String
myBrowser = "vivaldi"
myBrowser = "zen-browser"
myNormBorderColor :: String
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]
-- 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
myWebLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ myTabbed ||| tiled ||| Mirror tiled ||| threeCol ||| Grid ||| spiral 0.856
myGamesLayout = avoidStruts $ smartBorders Full
myVideoLayout = avoidStruts $ smartBorders Full
myDefaultLayout = avoidStruts $ renamed [CutWordsLeft 1] $ spacingWithEdge 3 $ tiled ||| Mirror tiled ||| myTabbed ||| threeCol ||| Grid ||| spiral 0.856
threeCol =
renamed [Replace "ThreeCol"] $
@@ -156,6 +157,7 @@ myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myG
-- Xmobar
xmobar1 = statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmobarPP)
xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_laptop" (pure myXmobarPP)
myXmobarPP :: PP
@@ -191,13 +193,12 @@ myStartupHook = do
-- spawnOnce "mons -e left && ~/.fehbg"
spawnOnce $
"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
"trayer -l --edge top --align right --SetDockType true \
\--SetPartialStrut true --expand true --widthtype request \
\--transparent true --tint 0x232634 --height 18 \
\--monitor 1"
\--tint 0x232634 --height 18 --monitor 1"
spawnOnce "redshift-gtk"
spawnOnce "udiskie"
spawnOnce "nm-applet"
@@ -208,6 +209,7 @@ myStartupHook = do
spawnOnce "numlockx"
spawnOnce "blueman-applet"
spawnOnce "mousemove"
spawnOnce "adb start-server"
-- Manage hook
myManageHook :: ManageHook
@@ -235,13 +237,15 @@ myManageHook =
className =? "mpv" --> doFullFloat,
className =? "mpv" --> doShift "5:\xead9 ",
className =? myTerminal --> doShift "1:\xf489 ",
className =? "scrcpy" --> doShift "6:\xeb69 ",
className =? "scrcpy" --> doShift "5:\xead9 ",
className =? "steam" --> doShift "3:\xf1b6 ",
className =? "steam_app_109600" --> doFloat,
className =? "steam_app_109600" --> doShift "3:\xf1b6 ",
className =? "transmission-gtk" --> doShift "2:\xe743 ",
className =? "VirtualBox Machine" --> doShift "7:\xea7a ",
className =? "VirtualBox Machine" --> doFullFloat,
className =? "VirtualBox Manager" --> doShift "7:\xea7a ",
className =? "zen" --> doShift "2:\xe743 ",
isDialog --> doFloat,
isFullscreen --> doFullFloat
]