Compare commits

..

3 commits

Author SHA1 Message Date
reo
98a7bea311 update zsh config 2026-03-17 18:15:58 +03:00
reo
2326b9ed38 update doom emacs configuration 2026-03-17 18:13:33 +03:00
reo
ea2bb4c6d5 Update xmonad & xmobar config 2026-03-17 18:13:03 +03:00
7 changed files with 16 additions and 10 deletions

2
.zshrc
View file

@ -1,6 +1,6 @@
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="gallois" ZSH_THEME="half-life"
plugins=(git) plugins=(git)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh

View file

@ -30,7 +30,7 @@
;;(map! :leader ;;(map! :leader
;; :desc "Aider command" "a" #'aider-command) ;; :desc "Aider command" "a" #'aider-command)
;;(set-frame-parameter nil 'alpha-background 60) (set-frame-parameter nil 'alpha-background 80)
(after! evil (after! evil
(setq evil-symbol-word-search t) (setq evil-symbol-word-search t)

View file

@ -3,7 +3,8 @@ Config { bgColor = "#23497E"
, font = "xft:BigBlueTermPlus Nerd Font-12" , font = "xft:BigBlueTermPlus Nerd Font-12"
, additionalFonts = [] , additionalFonts = []
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10 , commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
, Run XMonadLog , Run XMonadLog
] ]
, alignSep = "}{" , alignSep = "}{"
, template = "  %XMonadLog% }{ %date% "} , template = "  %XMonadLog% }{ vol %volume% | %date% "}

View file

@ -3,7 +3,8 @@ Config { bgColor = "#000000"
, font = "xft:BigBlueTermPlus Nerd Font-12" , font = "xft:BigBlueTermPlus Nerd Font-12"
, additionalFonts = [] , additionalFonts = []
, commands = [ Run Date "%a %Y-%m-%d <fc=#FFFFFF>%H:%M</fc>" "date" 10 , commands = [ Run Date "%a %Y-%m-%d <fc=#FFFFFF>%H:%M</fc>" "date" 10
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
, Run XMonadLog , Run XMonadLog
] ]
, alignSep = "}{" , alignSep = "}{"
, template = "  %XMonadLog% }{ %date% "} , template = "  %XMonadLog% }{ vol %volume% | %date% "}

View file

@ -3,7 +3,8 @@ Config { bgColor = "#425F57"
, font = "xft:BigBlueTermPlus Nerd Font-12" , font = "xft:BigBlueTermPlus Nerd Font-12"
, additionalFonts = [] , additionalFonts = []
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10 , commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
, Run XMonadLog , Run XMonadLog
] ]
, alignSep = "}{" , alignSep = "}{"
, template = "  %XMonadLog% }{ %date% "} , template = "  %XMonadLog% }{ vol %volume% | %date% "}

View file

@ -3,7 +3,8 @@ Config { bgColor = "#23497E"
, font = "xft:BigBlueTermPlus Nerd Font-12" , font = "xft:BigBlueTermPlus Nerd Font-12"
, additionalFonts = [] , additionalFonts = []
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10 , commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
, Run XMonadLog , Run XMonadLog
] ]
, alignSep = "}{" , alignSep = "}{"
, template = "  %XMonadLog% }{ %date% "} , template = "  %XMonadLog% }{ vol %volume% | %date% "}

View file

@ -6,6 +6,7 @@ import XMonad.Hooks.StatusBar.PP
import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.EwmhDesktops
import XMonad.Util.SpawnOnce (spawnOnce) import XMonad.Util.SpawnOnce (spawnOnce)
import XMonad.Layout.Spacing import XMonad.Layout.Spacing
import XMonad.Layout.ThreeColumns
import Theme import Theme
import NaturalGreenTheme import NaturalGreenTheme
@ -30,7 +31,7 @@ myTerminal = "alacritty"
myModMask = mod4Mask myModMask = mod4Mask
myBorderWidth = 0 myBorderWidth = 0
myEmacs = "emacsclient -c -a 'emacs' " myEmacs = "emacsclient -c -a 'emacs' "
myBrowser = "vivaldi" myBrowser = "firefox"
myWorkBrowser = "firefox -P emre@mixrank.com" myWorkBrowser = "firefox -P emre@mixrank.com"
myTheme = duskCloudTheme myTheme = duskCloudTheme
myLauncher = ".config/rofi/launchers/type-6/launcher.sh" myLauncher = ".config/rofi/launchers/type-6/launcher.sh"
@ -54,8 +55,8 @@ myKeybindings = [ ("M-S-e", spawn myEmacs)
, ("M-s", spawn "maim -s | xclip -selection clipboard -t image/png") , ("M-s", spawn "maim -s | xclip -selection clipboard -t image/png")
, ("<XF86MonBrightnessUp>", spawn "brightnessctl s +4%") , ("<XF86MonBrightnessUp>", spawn "brightnessctl s +4%")
, ("<XF86MonBrightnessDown>", spawn "brightnessctl s 4%-") , ("<XF86MonBrightnessDown>", spawn "brightnessctl s 4%-")
, ("<XF86AudioRaiseVolume>", spawn "amixer -q sset Master 3%+") , ("<XF86AudioRaiseVolume>", spawn "amixer -q sset Master 5%+")
, ("<XF86AudioLowerVolume>", spawn "amixer -q sset Master 3%-") , ("<XF86AudioLowerVolume>", spawn "amixer -q sset Master 5%-")
, ("M-<Return>", spawn myTerminal) , ("M-<Return>", spawn myTerminal)
, ("M-q", spawn "xmonad --recompile; killall xmobar; killall picom; xmonad --restart") , ("M-q", spawn "xmonad --recompile; killall xmobar; killall picom; xmonad --restart")
, ("M-d", spawn myLauncher) , ("M-d", spawn myLauncher)
@ -63,9 +64,10 @@ myKeybindings = [ ("M-S-e", spawn myEmacs)
, ("<Insert>", spawn "playerctl play-pause") , ("<Insert>", spawn "playerctl play-pause")
] ]
myLayoutHook = tiled ||| Mirror tiled ||| Full myLayoutHook = tiled ||| Mirror tiled ||| Full ||| threeCol
where where
tiled = Tall nmaster delta ratio tiled = Tall nmaster delta ratio
threeCol = ThreeCol nmaster delta (1/3)
nmaster = 1 nmaster = 1
ratio = 1/2 ratio = 1/2
delta = 3/100 delta = 3/100