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 # 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'

View File

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

View File

@@ -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
] ]