Compare commits
10 commits
24b93ba30e
...
e492e31e42
Author | SHA1 | Date | |
---|---|---|---|
e492e31e42 | |||
c5e61f0355 | |||
d4db461bfd | |||
34bb423cae | |||
ee88adbaba | |||
511a8981c5 | |||
ef86ad948c | |||
45ea35660b | |||
fb1b10e0e0 | |||
f0162dabb3 |
17 changed files with 65 additions and 66 deletions
|
@ -16,7 +16,10 @@ rounded-corners-exclude = [
|
||||||
#"window_type = 'normal'",
|
#"window_type = 'normal'",
|
||||||
"class_g = 'Rofi'",
|
"class_g = 'Rofi'",
|
||||||
"class_g = 'TelegramDesktop'",
|
"class_g = 'TelegramDesktop'",
|
||||||
"class_g = 'Dunst'"
|
"class_g = 'Dunst'",
|
||||||
|
"name = 'xmobar'",
|
||||||
|
"class_g = 'trayer'",
|
||||||
|
"name = 'panel'",
|
||||||
];
|
];
|
||||||
round-borders = 1;
|
round-borders = 1;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
|
@ -148,11 +151,11 @@ fade-exclude = [
|
||||||
|
|
||||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
# inactive-opacity = 1
|
# inactive-opacity = 1
|
||||||
inactive-opacity = 0.8;
|
inactive-opacity = 1;
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
# frame-opacity = 1.0
|
# frame-opacity = 1.0
|
||||||
frame-opacity = 0.7;
|
#frame-opacity = 0.7;
|
||||||
|
|
||||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
||||||
# menu-opacity = 1.0
|
# menu-opacity = 1.0
|
||||||
|
@ -171,7 +174,7 @@ inactive-opacity-override = false;
|
||||||
active-opacity = 1.0;
|
active-opacity = 1.0;
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
# inactive-dim = 0.0
|
inactive-dim = 0.06;
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
# focus-exclude = []
|
# focus-exclude = []
|
||||||
|
@ -182,7 +185,7 @@ focus-exclude = [
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||||
# inactive-dim-fixed = 1.0
|
inactive-dim-fixed = false;
|
||||||
|
|
||||||
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
||||||
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
||||||
|
@ -302,7 +305,7 @@ mark-wmwin-focused = true;
|
||||||
|
|
||||||
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||||
# mark-ovredir-focused = false
|
# mark-ovredir-focused = false
|
||||||
mark-ovredir-focused = true;
|
mark-ovredir-focused = false;
|
||||||
|
|
||||||
# Try to detect windows with rounded corners and don't consider them
|
# Try to detect windows with rounded corners and don't consider them
|
||||||
# shaped windows. The accuracy is not very high, unfortunately.
|
# shaped windows. The accuracy is not very high, unfortunately.
|
||||||
|
@ -320,7 +323,7 @@ detect-client-opacity = true;
|
||||||
# try detecting this with X RandR extension.
|
# try detecting this with X RandR extension.
|
||||||
#
|
#
|
||||||
# refresh-rate = 60
|
# refresh-rate = 60
|
||||||
refresh-rate = 0
|
#refresh-rate = 0
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
||||||
# boost performance. This should not be used with
|
# boost performance. This should not be used with
|
||||||
|
|
|
@ -2,6 +2,7 @@ configuration {
|
||||||
font: "FiraCode Nerd Font Mono 16";
|
font: "FiraCode Nerd Font Mono 16";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
}
|
}
|
||||||
@theme "~/.config/rofi/themes/teal.rasi"
|
//@theme "~/.config/rofi/themes/teal.rasi"
|
||||||
|
|
||||||
|
|
||||||
|
@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"
|
||||||
|
|
|
@ -13,10 +13,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$temp" -ge "$temp2" ] ; then
|
if [ "$temp" -ge "$temp2" ] ; then
|
||||||
echo "<fn=6></fn> <fc=#C1514E>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FB4934> $temp°C</fc>"
|
||||||
elif [ "$temp" -ge "$temp1" ] ; then
|
elif [ "$temp" -ge "$temp1" ] ; then
|
||||||
echo "<fn=6></fn> <fc=#C1A24E>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FE8019> $temp°C</fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=6></fn> <fc=#AAC0F0>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $temp°C</fc>"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
|
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
|
||||||
echo "<fn=6></fn> <fc=#AAC0F0> $freespace</fc>"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $freespace</fc>"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
update_number=$(checkupdates | wc -l)
|
update_number=$(checkupdates | wc -l)
|
||||||
echo "<fn=6> </fn> <fc=#AAC0F0>$update_number</fc>"
|
echo "<fc=#7C6F64><fn=6> </fn></fc> <fc=#B8BB26>$update_number</fc>"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 42630b2973cd624fceb33ae442dea4bf565ee5b1
|
Subproject commit 3500eb6c7ba57fd2ce32f89fdde6edd6918679f9
|
|
@ -8,14 +8,9 @@ Config {font = "Ubuntu bold 10"
|
||||||
, "Font Awesome 6 Free Solid 17"
|
, "Font Awesome 6 Free Solid 17"
|
||||||
, "Font Awesome 6 Free Solid 13"
|
, "Font Awesome 6 Free Solid 13"
|
||||||
]
|
]
|
||||||
, bgColor = "#2B2E37"
|
, bgColor = "#282828"
|
||||||
, fgColor = "#929AAD"
|
, fgColor = "#ebdbb2"
|
||||||
-- Position TopSize and BottomSize take 3 arguments:
|
, position = TopH 36
|
||||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
|
||||||
-- an integer for the percentage width, so 100 would be 100%.
|
|
||||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
|
||||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
|
||||||
, position = TopHM 36 8 8 4 0
|
|
||||||
, lowerOnStart = True
|
, lowerOnStart = True
|
||||||
, hideOnStart = False
|
, hideOnStart = False
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
|
@ -23,9 +18,9 @@ Config {font = "Ubuntu bold 10"
|
||||||
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
|
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
|
||||||
, commands = [
|
, commands = [
|
||||||
Run XMonadLog
|
Run XMonadLog
|
||||||
, Run Date "%a, %d %b <fn=1></fn> %H:%M" "date" 10
|
, Run Date "<fc=#A89984>%a, %d %b <fn=1></fn> %H:%M</fc>" "date" 10
|
||||||
, Run Mpris2 "playerctld" ["-t", "<fc=#AAC0F0><artist> - <title></fc>"] 10
|
, Run Mpris2 "playerctld" ["-t", "<artist> - <title>"] 10
|
||||||
, Run Memory ["-t","<fn=6></fn> <fc=#AAC0F0><usedratio></fc>%"] 50
|
, Run Memory ["-t","<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> <usedratio>%</fc>"] 50
|
||||||
, Run Com "/home/afonso/.config/xmobar/scripts/disk.sh" [] "disk" 100
|
, Run Com "/home/afonso/.config/xmobar/scripts/disk.sh" [] "disk" 100
|
||||||
, Run Com "/home/afonso/.config/xmobar/scripts/cpu_temp.sh" [] "cpu" 50
|
, Run Com "/home/afonso/.config/xmobar/scripts/cpu_temp.sh" [] "cpu" 50
|
||||||
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
|
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
|
||||||
|
@ -41,7 +36,7 @@ Config {font = "Ubuntu bold 10"
|
||||||
\%date%\
|
\%date%\
|
||||||
\<hspace=20/>\
|
\<hspace=20/>\
|
||||||
\{\
|
\{\
|
||||||
\Playing: %mpris2%\
|
\<fc=#7C6F64>Playing:</fc> <fc=#B8BB26>%mpris2%</fc>\
|
||||||
\ \
|
\ \
|
||||||
\|\
|
\|\
|
||||||
\ \
|
\ \
|
||||||
|
@ -54,10 +49,10 @@ Config {font = "Ubuntu bold 10"
|
||||||
\%cpu%\
|
\%cpu%\
|
||||||
\ \
|
\ \
|
||||||
\ \
|
\ \
|
||||||
\%disk%\
|
\%disk%\
|
||||||
\ \
|
\ \
|
||||||
\ \
|
\ \
|
||||||
\%battery%\
|
\%battery%\
|
||||||
\|\
|
\|\
|
||||||
\%trayerpad%"
|
\%trayerpad%"
|
||||||
}
|
}
|
||||||
|
|
17
.config/xmonad/lib/Colors/GruvBox.hs
Normal file
17
.config/xmonad/lib/Colors/GruvBox.hs
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
module Colors.GruvBox where
|
||||||
|
|
||||||
|
import XMonad
|
||||||
|
|
||||||
|
colorScheme = "gruvbox"
|
||||||
|
|
||||||
|
colorTrayer :: String
|
||||||
|
colorTrayer = "--tint 0x282828"
|
||||||
|
|
||||||
|
blue = "#83A598"
|
||||||
|
aqua = "#8EC07C"
|
||||||
|
orange = "#FE8019"
|
||||||
|
red = "#FB4934"
|
||||||
|
green = "#B8BB26"
|
||||||
|
gray0 = "#7C6F64"
|
||||||
|
gray1 = "#928374"
|
||||||
|
gray2 = "#A89984"
|
Binary file not shown.
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
module Colors.Teal where
|
|
||||||
|
|
||||||
import XMonad
|
|
||||||
|
|
||||||
colorScheme = "teal"
|
|
||||||
|
|
||||||
colorBack = "#282c34"
|
|
||||||
colorFore = "#bbc2cf"
|
|
||||||
|
|
||||||
color01 = "#006666"
|
|
||||||
color02 = "#01F9C1"
|
|
||||||
color03 = "#5b6268"
|
|
||||||
color04 = "#b2d8d8"
|
|
||||||
color05 = "#02CB9E"
|
|
||||||
|
|
||||||
colorTrayer :: String
|
|
||||||
colorTrayer = "--tint 0x282c34"
|
|
||||||
|
|
||||||
grey1 = "#2B2E37"
|
|
||||||
grey2 = "#555E70"
|
|
||||||
grey3 = "#697180"
|
|
||||||
grey4 = "#8691A8"
|
|
||||||
cyan = "#8BABF0"
|
|
||||||
orange = "#C45500"
|
|
Binary file not shown.
|
@ -1 +1 @@
|
||||||
Subproject commit ec5c751b35c1c9b07bd4361617f7c4076aeaa85f
|
Subproject commit 2973c283ae190dfe6545510e844b77fb9a74e780
|
|
@ -40,11 +40,11 @@ import qualified Data.Map as M
|
||||||
import System.Exit
|
import System.Exit
|
||||||
|
|
||||||
--Color Scheme
|
--Color Scheme
|
||||||
import Colors.Teal
|
import Colors.GruvBox
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
myTerminal = "alacritty"
|
myTerminal = "wezterm"
|
||||||
myTextEditor = "nvim"
|
myTextEditor = "nvim"
|
||||||
myWebBrowser = "firefox"
|
myWebBrowser = "firefox"
|
||||||
myModMask = mod4Mask
|
myModMask = mod4Mask
|
||||||
|
@ -59,7 +59,7 @@ windowCount :: X (Maybe String)
|
||||||
windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset
|
windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset
|
||||||
|
|
||||||
myNormalBorderColor = "#534783"
|
myNormalBorderColor = "#534783"
|
||||||
myFocusedBorderColor = "#01F9C6"
|
myFocusedBorderColor = "#B8BB26"
|
||||||
|
|
||||||
myBorderWidth = 1
|
myBorderWidth = 1
|
||||||
|
|
||||||
|
@ -138,12 +138,12 @@ myStartupHook = do
|
||||||
spawnOnce "nitrogen --restore &"
|
spawnOnce "nitrogen --restore &"
|
||||||
spawnOnce "playerctld"
|
spawnOnce "playerctld"
|
||||||
spawnOnce "qpwgraph"
|
spawnOnce "qpwgraph"
|
||||||
spawnOnce "picom &"
|
spawnOnce "killall picom;sleep1;picom &"
|
||||||
setWMName "LG3D"
|
setWMName "LG3D"
|
||||||
spawnOnce "nm-applet"
|
spawnOnce "nm-applet"
|
||||||
spawnOnce "$HOME/.local/bin/desktopres"
|
spawnOnce "$HOME/.local/bin/desktopres"
|
||||||
spawnOnce "xsetroot -cursor_name left_ptr"
|
spawnOnce "xsetroot -cursor_name left_ptr"
|
||||||
spawnOnce "killall trayer ;sleep 1 && trayer --monitor 0 --edge top --align right --margin 4 --widthtype request --padding 8 --iconspacing 12 --SetDockType true --SetPartialStrut true --expand true --transparent true --alpha 0 --tint 0x2B2E37 --height 30 --distance 5 &"
|
spawnOnce "killall trayer ;sleep 1 && trayer --monitor 0 --edge top --align right --widthtype request --padding 16 --iconspacing 12 --SetDockType true --SetPartialStrut true --expand true --transparent true --alpha 0 --tint 0x282828 --height 26 --distancefrom top --distance 4 &"
|
||||||
spawnOnce "nextcloud"
|
spawnOnce "nextcloud"
|
||||||
spawnOnOnce "web" myWebBrowser
|
spawnOnOnce "web" myWebBrowser
|
||||||
spawnOnOnce "main" myTerminal
|
spawnOnOnce "main" myTerminal
|
||||||
|
@ -155,10 +155,10 @@ myXmobarPP :: PP
|
||||||
myXmobarPP = def
|
myXmobarPP = def
|
||||||
{ ppSep = ""
|
{ ppSep = ""
|
||||||
, ppWsSep = ""
|
, ppWsSep = ""
|
||||||
, ppCurrent = xmobarColor cyan "" . const wsIconFull
|
, ppCurrent = xmobarColor red "" . const wsIconFull
|
||||||
, ppVisible = xmobarColor grey4 "" . const wsIconFull
|
, ppVisible = xmobarColor gray0 "" . const wsIconFull
|
||||||
, ppHidden = xmobarColor grey4 "" . const wsIconFull
|
, ppHidden = xmobarColor gray0 "" . const wsIconFull
|
||||||
, ppHiddenNoWindows = xmobarColor grey4 "" . const wsIconFull
|
, ppHiddenNoWindows = xmobarColor gray0 "" . const wsIconFull
|
||||||
, ppOrder = \(ws : _ : _ : extras) -> ws : extras
|
, ppOrder = \(ws : _ : _ : extras) -> ws : extras
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
|
|
4
.local/bin/monitor-0-brightness
Executable file
4
.local/bin/monitor-0-brightness
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ddcutil -d 1 setvcp 10 0
|
||||||
|
ddcutil -d 2 setvcp 10 0
|
4
.local/bin/monitor-100-brightness
Executable file
4
.local/bin/monitor-100-brightness
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ddcutil -d 1 setvcp 10 100
|
||||||
|
ddcutil -d 2 setvcp 10 100
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue