Compare commits
No commits in common. "e492e31e42ee9900bb91a8bc154331e3c75a1046" and "24b93ba30efdf35af4b8352f0fdf600f73168e07" have entirely different histories.
e492e31e42
...
24b93ba30e
17 changed files with 66 additions and 65 deletions
|
@ -16,10 +16,7 @@ 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 = [
|
||||||
|
@ -151,11 +148,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 = 1;
|
inactive-opacity = 0.8;
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -174,7 +171,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.06;
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
# 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 = []
|
||||||
|
@ -185,7 +182,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 = false;
|
# inactive-dim-fixed = 1.0
|
||||||
|
|
||||||
# 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.
|
||||||
|
@ -305,7 +302,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 = false;
|
mark-ovredir-focused = true;
|
||||||
|
|
||||||
# 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.
|
||||||
|
@ -323,7 +320,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,7 +2,6 @@ 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 "<fc=#7C6F64><fn=6></fn></fc> <fc=#FB4934> $temp°C</fc>"
|
echo "<fn=6></fn> <fc=#C1514E>$temp</fc>°C"
|
||||||
elif [ "$temp" -ge "$temp1" ] ; then
|
elif [ "$temp" -ge "$temp1" ] ; then
|
||||||
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FE8019> $temp°C</fc>"
|
echo "<fn=6></fn> <fc=#C1A24E>$temp</fc>°C"
|
||||||
else
|
else
|
||||||
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $temp°C</fc>"
|
echo "<fn=6></fn> <fc=#AAC0F0>$temp</fc>°C"
|
||||||
|
|
||||||
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 "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $freespace</fc>"
|
echo "<fn=6></fn> <fc=#AAC0F0> $freespace</fc>"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
update_number=$(checkupdates | wc -l)
|
update_number=$(checkupdates | wc -l)
|
||||||
echo "<fc=#7C6F64><fn=6> </fn></fc> <fc=#B8BB26>$update_number</fc>"
|
echo "<fn=6> </fn> <fc=#AAC0F0>$update_number</fc>"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3500eb6c7ba57fd2ce32f89fdde6edd6918679f9
|
Subproject commit 42630b2973cd624fceb33ae442dea4bf565ee5b1
|
|
@ -8,9 +8,14 @@ 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 = "#282828"
|
, bgColor = "#2B2E37"
|
||||||
, fgColor = "#ebdbb2"
|
, fgColor = "#929AAD"
|
||||||
, position = TopH 36
|
-- Position TopSize and BottomSize take 3 arguments:
|
||||||
|
-- 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
|
||||||
|
@ -18,9 +23,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 "<fc=#A89984>%a, %d %b <fn=1></fn> %H:%M</fc>" "date" 10
|
, Run Date "%a, %d %b <fn=1></fn> %H:%M" "date" 10
|
||||||
, Run Mpris2 "playerctld" ["-t", "<artist> - <title>"] 10
|
, Run Mpris2 "playerctld" ["-t", "<fc=#AAC0F0><artist> - <title></fc>"] 10
|
||||||
, Run Memory ["-t","<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> <usedratio>%</fc>"] 50
|
, Run Memory ["-t","<fn=6></fn> <fc=#AAC0F0><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
|
||||||
|
@ -36,7 +41,7 @@ Config {font = "Ubuntu bold 10"
|
||||||
\%date%\
|
\%date%\
|
||||||
\<hspace=20/>\
|
\<hspace=20/>\
|
||||||
\{\
|
\{\
|
||||||
\<fc=#7C6F64>Playing:</fc> <fc=#B8BB26>%mpris2%</fc>\
|
\Playing: %mpris2%\
|
||||||
\ \
|
\ \
|
||||||
\|\
|
\|\
|
||||||
\ \
|
\ \
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
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"
|
|
BIN
.config/xmonad/lib/Colors/Teal.hi
Normal file
BIN
.config/xmonad/lib/Colors/Teal.hi
Normal file
Binary file not shown.
25
.config/xmonad/lib/Colors/Teal.hs
Normal file
25
.config/xmonad/lib/Colors/Teal.hs
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
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"
|
BIN
.config/xmonad/lib/Colors/Teal.o
Normal file
BIN
.config/xmonad/lib/Colors/Teal.o
Normal file
Binary file not shown.
|
@ -1 +1 @@
|
||||||
Subproject commit 2973c283ae190dfe6545510e844b77fb9a74e780
|
Subproject commit ec5c751b35c1c9b07bd4361617f7c4076aeaa85f
|
|
@ -40,11 +40,11 @@ import qualified Data.Map as M
|
||||||
import System.Exit
|
import System.Exit
|
||||||
|
|
||||||
--Color Scheme
|
--Color Scheme
|
||||||
import Colors.GruvBox
|
import Colors.Teal
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
myTerminal = "wezterm"
|
myTerminal = "alacritty"
|
||||||
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 = "#B8BB26"
|
myFocusedBorderColor = "#01F9C6"
|
||||||
|
|
||||||
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 "killall picom;sleep1;picom &"
|
spawnOnce "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 --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 "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 "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 red "" . const wsIconFull
|
, ppCurrent = xmobarColor cyan "" . const wsIconFull
|
||||||
, ppVisible = xmobarColor gray0 "" . const wsIconFull
|
, ppVisible = xmobarColor grey4 "" . const wsIconFull
|
||||||
, ppHidden = xmobarColor gray0 "" . const wsIconFull
|
, ppHidden = xmobarColor grey4 "" . const wsIconFull
|
||||||
, ppHiddenNoWindows = xmobarColor gray0 "" . const wsIconFull
|
, ppHiddenNoWindows = xmobarColor grey4 "" . const wsIconFull
|
||||||
, ppOrder = \(ws : _ : _ : extras) -> ws : extras
|
, ppOrder = \(ws : _ : _ : extras) -> ws : extras
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ddcutil -d 1 setvcp 10 0
|
|
||||||
ddcutil -d 2 setvcp 10 0
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/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