mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
updates after move to arch
This commit is contained in:
parent
1d9aa04f82
commit
9f10eb7e44
@ -44,3 +44,8 @@
|
|||||||
type = "git-repo"
|
type = "git-repo"
|
||||||
url = "https://codeberg.org/xmobar/xmobar"
|
url = "https://codeberg.org/xmobar/xmobar"
|
||||||
refreshPeriod = "168h"
|
refreshPeriod = "168h"
|
||||||
|
|
||||||
|
[".config/alacritty/themes"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/alacritty/alacritty-theme"
|
||||||
|
refreshPeriod = "168h"
|
||||||
|
@ -17,19 +17,19 @@ env:
|
|||||||
font:
|
font:
|
||||||
# Normal (roman) font face
|
# Normal (roman) font face
|
||||||
normal:
|
normal:
|
||||||
family: Jet Brains Mono
|
family: Jet Brains Mono Nerd Font
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Regular
|
style: Regular
|
||||||
|
|
||||||
# Bold font face
|
# Bold font face
|
||||||
bold:
|
bold:
|
||||||
family: Jet Brains Mono
|
family: Jet Brains Mono Nerd Font
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Bold
|
style: Bold
|
||||||
|
|
||||||
# Italic font face
|
# Italic font face
|
||||||
italic:
|
italic:
|
||||||
family: Jet Brains Mono
|
family: Jet Brains Mono Nerd Font
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Italic
|
style: Italic
|
||||||
|
|
||||||
@ -50,4 +50,4 @@ font:
|
|||||||
y: 1
|
y: 1
|
||||||
|
|
||||||
import:
|
import:
|
||||||
- ~/.config/alacritty/dracula.yml
|
- ~/.config/alacritty/themes/themes/monokai-pro.yml
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
# Dracula theme for Alacritty
|
|
||||||
# https://draculatheme.com/alacritty
|
|
||||||
#
|
|
||||||
# Color palette
|
|
||||||
# https://spec.draculatheme.com
|
|
||||||
#
|
|
||||||
# Template
|
|
||||||
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml
|
|
||||||
|
|
||||||
colors:
|
|
||||||
primary:
|
|
||||||
background: '#282a36'
|
|
||||||
foreground: '#f8f8f2'
|
|
||||||
bright_foreground: '#ffffff'
|
|
||||||
cursor:
|
|
||||||
text: CellBackground
|
|
||||||
cursor: CellForeground
|
|
||||||
vi_mode_cursor:
|
|
||||||
text: CellBackground
|
|
||||||
cursor: CellForeground
|
|
||||||
search:
|
|
||||||
matches:
|
|
||||||
foreground: '#44475a'
|
|
||||||
background: '#50fa7b'
|
|
||||||
focused_match:
|
|
||||||
foreground: '#44475a'
|
|
||||||
background: '#ffb86c'
|
|
||||||
footer_bar:
|
|
||||||
background: '#282a36'
|
|
||||||
foreground: '#f8f8f2'
|
|
||||||
hints:
|
|
||||||
start:
|
|
||||||
foreground: '#282a36'
|
|
||||||
background: '#f1fa8c'
|
|
||||||
end:
|
|
||||||
foreground: '#f1fa8c'
|
|
||||||
background: '#282a36'
|
|
||||||
line_indicator:
|
|
||||||
foreground: None
|
|
||||||
background: None
|
|
||||||
selection:
|
|
||||||
text: CellForeground
|
|
||||||
background: '#44475a'
|
|
||||||
normal:
|
|
||||||
black: '#21222c'
|
|
||||||
red: '#ff5555'
|
|
||||||
green: '#50fa7b'
|
|
||||||
yellow: '#f1fa8c'
|
|
||||||
blue: '#bd93f9'
|
|
||||||
magenta: '#ff79c6'
|
|
||||||
cyan: '#8be9fd'
|
|
||||||
white: '#f8f8f2'
|
|
||||||
bright:
|
|
||||||
black: '#6272a4'
|
|
||||||
red: '#ff6e6e'
|
|
||||||
green: '#69ff94'
|
|
||||||
yellow: '#ffffa5'
|
|
||||||
blue: '#d6acff'
|
|
||||||
magenta: '#ff92df'
|
|
||||||
cyan: '#a4ffff'
|
|
||||||
white: '#ffffff'
|
|
86
home/dot_config/picom/picom.conf
Normal file
86
home/dot_config/picom/picom.conf
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
# Shadow
|
||||||
|
shadow = true;
|
||||||
|
no-dnd-shadow = true;
|
||||||
|
no-dock-shadow = true;
|
||||||
|
shadow-radius = 12.0;
|
||||||
|
shadow-offset-x = -12;
|
||||||
|
shadow-offset-y = -12;
|
||||||
|
shadow-opacity = 0.7;
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
#shadow-exclude = [
|
||||||
|
#"name = 'Notification'",
|
||||||
|
#"class_g = 'Conky'",
|
||||||
|
#"class_g ?= 'Notify-osd'",
|
||||||
|
#"class_g = 'Cairo-clock'",
|
||||||
|
#"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
#];
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
# xinerama-shadow-crop = true;
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
#menu-opacity = 0.9;
|
||||||
|
#inactive-opacity = 0.9;
|
||||||
|
#active-opacity = 1.0;
|
||||||
|
#frame-opacity = 0.7;
|
||||||
|
#inactive-opacity-override = true;
|
||||||
|
#alpha-step = 0.06;
|
||||||
|
#inactive-dim = 0.2;
|
||||||
|
#inactive-dim-fixed = true;
|
||||||
|
#blur-background = true;
|
||||||
|
#blur-background-frame = true;
|
||||||
|
#blur-kern = "3x3box";
|
||||||
|
#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
|
#blur-background-fixed = true;
|
||||||
|
#blur-background-exclude = [
|
||||||
|
#"window_type = 'dock'",
|
||||||
|
#"window_type = 'desktop'",
|
||||||
|
#"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
#];
|
||||||
|
#opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
|
||||||
|
# Fading
|
||||||
|
fading = true;
|
||||||
|
fade-delta = 2;
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
fade-out-step = 0.04;
|
||||||
|
#no-fading-openclose = true;
|
||||||
|
#no-fading-destroyed-argb = true;
|
||||||
|
#fade-exclude = [ ];
|
||||||
|
|
||||||
|
# Other
|
||||||
|
backend = "xrender";
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# use-ewmh-active-win = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
vsync = false;
|
||||||
|
dbe = false;
|
||||||
|
paint-on-overlay = true;
|
||||||
|
# sw-opti = true;
|
||||||
|
# unredir-if-possible = true;
|
||||||
|
# unredir-if-possible-delay = 5000;
|
||||||
|
# unredir-if-possible-exclude = [ ];
|
||||||
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = false;
|
||||||
|
invert-color-include = [ ];
|
||||||
|
# resize-damage = 1;
|
||||||
|
|
||||||
|
# GLX backend
|
||||||
|
# glx-no-stencil = true;
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
# glx-use-copysubbuffermesa = true;
|
||||||
|
# glx-no-rebind-pixmap = true;
|
||||||
|
# glx-use-gpushader4 = true;
|
||||||
|
# xrender-sync = true;
|
||||||
|
# xrender-sync-fence = true;
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||||
|
};
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
status=$(gamemoded -s)
|
status=$(gamemoded -s)
|
||||||
if [ "$status" == "gamemode is inactive" ]; then
|
if [ "$status" == "gamemode is inactive" ]; then
|
||||||
color="#B8BB26"
|
color="#a6e22e"
|
||||||
else
|
else
|
||||||
color="#FB4934"
|
color="#f92672"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<fc=$color> </fc>"
|
echo "<fc=$color> </fc>"
|
||||||
|
@ -3,17 +3,17 @@
|
|||||||
status=$(cat /sys/class/power_supply/hidpp_battery_*/uevent | grep POWER_SUPPLY_VOLTAGE)
|
status=$(cat /sys/class/power_supply/hidpp_battery_*/uevent | grep POWER_SUPPLY_VOLTAGE)
|
||||||
voltage=$(echo $status | cut -c26-29)
|
voltage=$(echo $status | cut -c26-29)
|
||||||
if [ "$voltage" -ge 3700 ]; then
|
if [ "$voltage" -ge 3700 ]; then
|
||||||
color="#B8BB26"
|
color="#a6e22e"
|
||||||
else
|
else
|
||||||
color="#FB4934"
|
color="#f92672"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
status1=$(cat /sys/class/power_supply/hidpp_battery_*/uevent | grep POWER_SUPPLY_STATUS | tail -n1)
|
status1=$(cat /sys/class/power_supply/hidpp_battery_*/uevent | grep POWER_SUPPLY_STATUS | tail -n1)
|
||||||
charge=$(echo $status1 | cut -c21-)
|
charge=$(echo $status1 | cut -c21-)
|
||||||
if [ "$charge" = "Discharging" ]; then
|
if [ "$charge" = "Discharging" ]; then
|
||||||
color1="#FE8019"
|
color1="#f4bf75"
|
||||||
else
|
else
|
||||||
color1="#B8BB26"
|
color1="#a6e22e"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<fc=$color1> </fc><fc=$color>${voltage}mV</fc>"
|
echo "<fc=$color1> </fc><fc=$color>${voltage}mV</fc>"
|
||||||
|
@ -1 +0,0 @@
|
|||||||
echo "wtf"
|
|
@ -1,11 +1,13 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
volume=$(pactl list sinks | grep -A 7 'Name: alsa_output.usb-AudioQuest_inc._AudioQuest_DragonFly-00.analog-stereo' | tail -n 1 | sed 's/%.*//' | tail -c3)
|
sink=$( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 )
|
||||||
mute=$(pactl list sinks | grep -A 6 'Name: alsa_output.usb-AudioQuest_inc._AudioQuest_DragonFly-00.analog-stereo' | tail -n 1 -c4 | sed 's/ //g')
|
volume=$( pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' )
|
||||||
|
mute=$(pactl list sinks | grep '^[[:space:]]Mute:' | head -n $(( $SINK + 1 )) | tail -n 1 | awk '{print $2}')
|
||||||
|
|
||||||
if [ "$mute" == "yes" ]; then
|
if [ "$mute" == "yes" ]; then
|
||||||
color="#FB4934"
|
color="#f92672"
|
||||||
else
|
else
|
||||||
color="#B8BB26"
|
color="#a6e22e"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<fc=$color> $volume%</fc>"
|
echo "<fc=$color> $volume%</fc>"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
Config { font = "xft:Jet Brains Mono Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
||||||
, bgColor = "#282828"
|
, bgColor = "#221e2d"
|
||||||
, fgColor = "#EBDBB2"
|
, fgColor = "#d1d1d1"
|
||||||
, position = Static {xpos = 0, ypos = 0, width = 2560, height = 20}
|
, position = Static {xpos = 0, ypos = 0, width = 2560, height = 20}
|
||||||
, iconRoot = "X"
|
, iconRoot = "X"
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
, commands = [ Run Cpu ["-t", " <fc=#FB4934><total></fc>%","-H", "2"] 10
|
, commands = [ Run Cpu ["-t", " <fc=#F92672><total></fc>%","-H", "2"] 10
|
||||||
, Run Memory ["-t", "<fc=#FB4934><usedratio></fc>%"] 10
|
, Run Memory ["-t", "<fc=#F92672><usedratio></fc>%"] 10
|
||||||
, Run Network "enp3s0" [ "-t", "<fc=#FB4934><tx></fc>kb/<fc=#FB4934><rx></fc>kb" ] 10
|
, Run Network "enp3s0" [ "-t", "<fc=#F92672><tx></fc>kb/<fc=#F92672><rx></fc>kb" ] 10
|
||||||
, Run Com "/home/tstarr/.config/xmobar/volume" [] "volume" 10
|
, Run Com "/home/tstarr/.config/xmobar/volume" [] "volume" 10
|
||||||
, Run Com "/home/tstarr/.config/xmobar/gamemode" [] "gamemode" 10
|
, Run Com "/home/tstarr/.config/xmobar/gamemode" [] "gamemode" 10
|
||||||
, Run Com "/home/tstarr/.config/xmobar/mouse" [] "mouse" 10
|
, Run Com "/home/tstarr/.config/xmobar/mouse" [] "mouse" 10
|
||||||
@ -15,5 +15,5 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true
|
|||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = " <fc=#FB4934>%StdinReader%</fc>}%date%{%enp3s0% | %mouse% | %volume% | 閭%cpu% | %memory% |%gamemode%"
|
, template = " <fc=#F92672>%StdinReader%</fc>}%date%{%enp3s0% | %mouse% | %volume% | %cpu% | %memory% | %gamemode%"
|
||||||
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
|
||||||
, bgColor = "#282828"
|
|
||||||
, fgColor = "#EBDBB2"
|
|
||||||
, position = Static {xpos = 2560, ypos = 0, width = 2560, height = 20}
|
|
||||||
, iconRoot = "X"
|
|
||||||
, allDesktops = True
|
|
||||||
, commands = [ Run Cpu ["-t", " <fc=#FB4934><total></fc>%","-H", "2"] 10
|
|
||||||
, Run Memory ["-t", "<fc=#FB4934><usedratio></fc>%"] 10
|
|
||||||
, Run Network "enp3s0" [ "-t", "<fc=#FB4934><tx></fc>kb/<fc=#FB4934><rx></fc>kb" ] 10
|
|
||||||
, Run Com "/home/tstarr/.config/xmobar/volume" [] "volume" 10
|
|
||||||
, Run Com "/home/tstarr/.config/xmobar/gamemode" [] "gamemode" 10
|
|
||||||
, Run Com "/home/tstarr/.config/xmobar/mouse" [] "mouse" 10
|
|
||||||
, Run Date " %a %d/%m/%y %H:%M:%S" "date" 10
|
|
||||||
, Run StdinReader
|
|
||||||
]
|
|
||||||
, sepChar = "%"
|
|
||||||
, alignSep = "}{"
|
|
||||||
, template = " <fc=#FB4934>%StdinReader%</fc>}%date%{%enp3s0% | %mouse% | %volume% | 閭%cpu% | %memory% |%gamemode%"
|
|
||||||
|
|
@ -90,17 +90,17 @@ myWorkspaces = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|||||||
myBorderWidth = 2
|
myBorderWidth = 2
|
||||||
|
|
||||||
-- Border colors
|
-- Border colors
|
||||||
myNormalBorderColor = "#282828"
|
myNormalBorderColor = "#221e2d"
|
||||||
myFocusedBorderColor = "#B16286"
|
myFocusedBorderColor = "#66d9ef"
|
||||||
|
|
||||||
-- Config for xmonad prompts
|
-- Config for xmonad prompts
|
||||||
myXPConfig =
|
myXPConfig =
|
||||||
def { font = myFont
|
def { font = myFont
|
||||||
, bgColor = "#282828"
|
, bgColor = "#221e2d"
|
||||||
, fgColor = "#EBDBB2"
|
, fgColor = "#d1d1d1"
|
||||||
, fgHLight = "#B16286"
|
, fgHLight = "#66d9ef"
|
||||||
, bgHLight = "#282828"
|
, bgHLight = "#221e2d"
|
||||||
, borderColor = "#B16286"
|
, borderColor = "#66d9ef"
|
||||||
, promptBorderWidth = 2
|
, promptBorderWidth = 2
|
||||||
, position = CenteredAt 0.5 0.25
|
, position = CenteredAt 0.5 0.25
|
||||||
, height = 40
|
, height = 40
|
||||||
@ -115,23 +115,21 @@ myXPConfig =
|
|||||||
-- Config for tabs
|
-- Config for tabs
|
||||||
myTabTheme =
|
myTabTheme =
|
||||||
def { fontName = myFont
|
def { fontName = myFont
|
||||||
, activeColor = "#B16286"
|
, activeColor = "#66d9ef"
|
||||||
, inactiveColor = "#282828"
|
, inactiveColor = "#221e2d"
|
||||||
, activeBorderColor = "#B16286"
|
, activeBorderColor = "#66d9ef"
|
||||||
, inactiveBorderColor = "#282828"
|
, inactiveBorderColor = "#221e2d"
|
||||||
, activeTextColor = "#282828"
|
, activeTextColor = "#221e2d"
|
||||||
, inactiveTextColor = "#B16286"
|
, inactiveTextColor = "#66d9ef"
|
||||||
, decoHeight = 15
|
, decoHeight = 15
|
||||||
}
|
}
|
||||||
|
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
spawnOnce "nitrogen --restore &"
|
spawnOnce "nitrogen --restore &"
|
||||||
spawnOnce "lxsession &"
|
spawnOnce "lxsession &"
|
||||||
spawnOnce "xsetroot -cursor_name left_ptr"
|
|
||||||
spawnOnce "imwheel -b 45 &"
|
|
||||||
spawnOnce "udiskie &"
|
spawnOnce "udiskie &"
|
||||||
spawnOnce "dunst -conf ~/.config/dunst/dunstrc"
|
spawnOnce "dunst -conf ~/.config/dunst/dunstrc &"
|
||||||
spawnOnce "emacs --daemon"
|
spawnOnce "picom &"
|
||||||
|
|
||||||
-- Config layouts
|
-- Config layouts
|
||||||
myLayout = windowNavigation
|
myLayout = windowNavigation
|
||||||
@ -261,16 +259,12 @@ myKeys home =
|
|||||||
, ("M-C-j", rotSlavesDown)
|
, ("M-C-j", rotSlavesDown)
|
||||||
-- Swap the focused window with the previous window.
|
-- Swap the focused window with the previous window.
|
||||||
, ("M-C-k", rotSlavesUp)
|
, ("M-C-k", rotSlavesUp)
|
||||||
-- Move focus to the master window.
|
|
||||||
, ("M-m", windows W.focusMaster)
|
|
||||||
-- Swap the focused window and the master window.
|
|
||||||
, ("M-S-m", windows W.swapMaster)
|
|
||||||
-- Increment number of windows in master
|
-- Increment number of windows in master
|
||||||
, ("M-.", sendMessage (IncMasterN 1))
|
, ("M-.", sendMessage (IncMasterN 1))
|
||||||
-- Decrement number of windows in master
|
-- Decrement number of windows in master
|
||||||
, ("M-,", sendMessage (IncMasterN (-1)))
|
, ("M-,", sendMessage (IncMasterN (-1)))
|
||||||
-- Swap the focused window and the master window.
|
-- Swap the focused window and the master window.
|
||||||
, ("M-b", nextMatch History (return True))
|
, ("M-b", nextMatch Backward (return True))
|
||||||
-- Bring a window to focus.
|
-- Bring a window to focus.
|
||||||
, ("M-z", bringMenu)
|
, ("M-z", bringMenu)
|
||||||
-- Remove workspace
|
-- Remove workspace
|
||||||
@ -310,7 +304,7 @@ myKeys home =
|
|||||||
-- Open Applications
|
-- Open Applications
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
-- Spawn firefox
|
-- Spawn firefox
|
||||||
, ("M-o b" , spawn "chromium")
|
, ("M-o b" , spawn "firefox")
|
||||||
-- Spawn lutris
|
-- Spawn lutris
|
||||||
, ("M-o l" , spawn "lutris")
|
, ("M-o l" , spawn "lutris")
|
||||||
-- Spawn steam
|
-- Spawn steam
|
||||||
@ -367,8 +361,9 @@ main = do
|
|||||||
$ ewmhFullscreen
|
$ ewmhFullscreen
|
||||||
$ navigation2DP def
|
$ navigation2DP def
|
||||||
("", "h", "", "l")
|
("", "h", "", "l")
|
||||||
[("M-", screenGo),
|
[("M-", windowGo),
|
||||||
("M-S-", screenSwap)]
|
("M-S-", windowSwap),
|
||||||
|
("M-C-", screenGo)]
|
||||||
False
|
False
|
||||||
$ def
|
$ def
|
||||||
{
|
{
|
||||||
@ -387,13 +382,13 @@ main = do
|
|||||||
logHook = workspaceHistoryHook <+> myLogHook <+> dynamicLogWithPP xmobarPP
|
logHook = workspaceHistoryHook <+> myLogHook <+> dynamicLogWithPP xmobarPP
|
||||||
{ ppOutput = \x -> hPutStrLn xmproc0 x
|
{ ppOutput = \x -> hPutStrLn xmproc0 x
|
||||||
>> hPutStrLn xmproc1 x
|
>> hPutStrLn xmproc1 x
|
||||||
, ppCurrent = xmobarColor "#B8BB26" "" . wrap "[" "]" -- Current workspace in xmobar
|
, ppCurrent = xmobarColor "#a6e22e" "" . wrap "[" "]" -- Current workspace in xmobar
|
||||||
, ppVisible = xmobarColor "#83A598" "" -- Visible but not current workspace
|
, ppVisible = xmobarColor "#ae81ff" "" -- Visible but not current workspace
|
||||||
, ppHidden = xmobarColor "#83A598" "" . wrap "*" "" -- Hidden workspaces in xmobar
|
, ppHidden = xmobarColor "#ae81ff" "" . wrap "*" "" -- Hidden workspaces in xmobar
|
||||||
, ppHiddenNoWindows= \( _ ) -> "" -- Only shows visible workspaces. Useful for TreeSelect.
|
, ppHiddenNoWindows= \( _ ) -> "" -- Only shows visible workspaces. Useful for TreeSelect.
|
||||||
, ppTitle = xmobarColor "#EBDBB2" "" . shorten 60 -- Title of active window in xmobar
|
, ppTitle = xmobarColor "#d1d1d1" "" . shorten 60 -- Title of active window in xmobar
|
||||||
, ppSep = "<fc=" ++ "#EBDBB2" ++ "> | </fc>" -- Separators in xmobar
|
, ppSep = "<fc=" ++ "#d1d1d1" ++ "> | </fc>" -- Separators in xmobar
|
||||||
, ppUrgent = xmobarColor "#FB2934" "" . wrap "!" "!" -- Urgent workspace
|
, ppUrgent = xmobarColor "#a6e22e" "" . wrap "!" "!" -- Urgent workspace
|
||||||
, ppExtras = [windowCount] -- # of windows current workspace
|
, ppExtras = [windowCount] -- # of windows current workspace
|
||||||
, ppOrder = \(ws:l:t:ex) -> [ws,l]++ex++[t]},
|
, ppOrder = \(ws:l:t:ex) -> [ws,l]++ex++[t]},
|
||||||
startupHook = myStartupHook
|
startupHook = myStartupHook
|
||||||
|
@ -114,7 +114,7 @@ alias tdot='tmuxinator start dot'
|
|||||||
alias ttask='tmuxinator start task'
|
alias ttask='tmuxinator start task'
|
||||||
|
|
||||||
# Chezmoi
|
# Chezmoi
|
||||||
alias cc="chezmoi cd"
|
alias cc="cd ~/.local/share/chezmoi"
|
||||||
alias cdr="chezmoi apply --verbose --dry-run"
|
alias cdr="chezmoi apply --verbose --dry-run"
|
||||||
alias ca="chezmoi apply"
|
alias ca="chezmoi apply"
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ linux-mount-<network drive name>
|
|||||||
|
|
||||||
## Taskopen for taskwarrior
|
## Taskopen for taskwarrior
|
||||||
|
|
||||||
[taskopen](https://github.com/jschlatow/taskopeni) is easier to install
|
[taskopen](https://github.com/jschlatow/taskopen) is easier to install
|
||||||
manually at this point since it isn't packaged and uses nim. Might get this
|
manually at this point since it isn't packaged and uses nim. Might get this
|
||||||
automated in the future.
|
automated in the future.
|
||||||
|
|
||||||
@ -120,43 +120,6 @@ section).
|
|||||||
Transfer the `.mozilla` folder from install-to-install to maintain Firefox
|
Transfer the `.mozilla` folder from install-to-install to maintain Firefox
|
||||||
settings and configurations.
|
settings and configurations.
|
||||||
|
|
||||||
## Dracula colorscheme for gnome terminal
|
|
||||||
|
|
||||||
[Dracula](https://draculatheme.com/gnome-terminal) is used for gnome-terminal.
|
|
||||||
Run the following commands to install:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/dracula/gnome-terminal
|
|
||||||
cd gnome-terminal
|
|
||||||
./install.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bluetooth Audio
|
|
||||||
|
|
||||||
In addition to the `pipewire-codec-aptx` package being required (installed
|
|
||||||
with ansible) you need to set `ControllerMode = bredr` in
|
|
||||||
`/etc/bluetooth/main.conf` to get bluetooth to work properly with audio devices.
|
|
||||||
|
|
||||||
## Linux-tkg kernel
|
|
||||||
|
|
||||||
The [linux-tkg](https://github.com/Frogging-Family/linux-tkg) kernel provides
|
|
||||||
a more responsive desktop. Install with the following:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/Frogging-Family/linux-tkg.git
|
|
||||||
cd linux-tkg
|
|
||||||
```
|
|
||||||
|
|
||||||
Set `CONFIG_EFI_HANDOVER_PROTOCOL` to `y` in
|
|
||||||
`linux-tkg-config/<kernel-version>/config.x86_64`.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
./install.sh install
|
|
||||||
sudo dnf install akmod-nvidia
|
|
||||||
```
|
|
||||||
|
|
||||||
Reboot into new kernel.
|
|
||||||
|
|
||||||
## Single GPU Passthrough to windows
|
## Single GPU Passthrough to windows
|
||||||
|
|
||||||
I use a windows virtual machine with gpu passthrough of the few games that
|
I use a windows virtual machine with gpu passthrough of the few games that
|
||||||
@ -170,19 +133,11 @@ setup should usually be avoided by transfering the VM between machines:
|
|||||||
2. On the source host run `virsh dumpxml VMNAME > domxml.xml` and copy this xml to the destination host
|
2. On the source host run `virsh dumpxml VMNAME > domxml.xml` and copy this xml to the destination host
|
||||||
3. On the destination host run `virsh define domxml.xml`
|
3. On the destination host run `virsh define domxml.xml`
|
||||||
|
|
||||||
## Google earth pro
|
## xmonad
|
||||||
|
|
||||||
[Google earth](https://www.google.com/earth/versions/) is nice for visualizing
|
|
||||||
my hikes and checking out snow levels. Download the RPM and install with yum.
|
|
||||||
|
|
||||||
## Emacs
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git://git.sv.gnu.org/emacs.git
|
cd ~/.config/xmonad
|
||||||
sudo dnf install autoconf texinfo gtk3-devel libgccjit-devel gnutls-devel ncurses-devel jansson jansson-devel
|
stack update
|
||||||
cd emacs
|
stack init
|
||||||
./autogen.sh
|
stack install
|
||||||
./configure --with-native-compilation --with-json --with-pgtk
|
|
||||||
make -j16
|
|
||||||
sudo make install
|
|
||||||
```
|
```
|
||||||
|
@ -6,3 +6,4 @@ collections:
|
|||||||
- name: community.general
|
- name: community.general
|
||||||
version: 6.0.1
|
version: 6.0.1
|
||||||
source: https://galaxy.ansible.com
|
source: https://galaxy.ansible.com
|
||||||
|
- name: kewlfft.aur
|
||||||
|
@ -39,3 +39,18 @@
|
|||||||
- gnome-maps
|
- gnome-maps
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Delete amd vulkan files
|
||||||
|
ansible.builtin.file:
|
||||||
|
state: absent
|
||||||
|
path:
|
||||||
|
- /usr/share/vulkan/icd.d/amd_icd32.json
|
||||||
|
- /usr/share/vulkan/icd.d/amd_icd64.json
|
||||||
|
|
||||||
|
- name: Start and enable bluetooth
|
||||||
|
tags: ["once"]
|
||||||
|
systemd:
|
||||||
|
name: bluetooth
|
||||||
|
enabled: true
|
||||||
|
state: started
|
||||||
|
become: true
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- nvidia-dkms # NVIDIA drivers for linux - Libraries and Utilities
|
- nvidia-dkms # NVIDIA drivers for linux - Libraries and Utilities
|
||||||
- nvidia-utils
|
- nvidia-utils
|
||||||
- lib32-nvidia-utils
|
- lib32-nvidia-utils
|
||||||
|
- nvidia-settings
|
||||||
- firefox # Mozilla Firefox web browser
|
- firefox # Mozilla Firefox web browser
|
||||||
- ttf-jetbrains-mono-nerd
|
- ttf-jetbrains-mono-nerd
|
||||||
- udiskie
|
- udiskie
|
||||||
@ -23,6 +24,11 @@
|
|||||||
- rofi
|
- rofi
|
||||||
- xorg
|
- xorg
|
||||||
- xorg-xinit
|
- xorg-xinit
|
||||||
|
- picom
|
||||||
|
- dunst
|
||||||
|
- lxsession
|
||||||
|
- nitrogen
|
||||||
|
- lxappearance
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -37,3 +43,9 @@
|
|||||||
- com.bitwarden.desktop
|
- com.bitwarden.desktop
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Install desktop yay packages
|
||||||
|
kewlfft.aur.aur:
|
||||||
|
use: yay
|
||||||
|
name:
|
||||||
|
- google-earth-pro
|
||||||
|
@ -34,9 +34,3 @@
|
|||||||
shell: >
|
shell: >
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Enable pipewire with pulse
|
|
||||||
tags: ["once"]
|
|
||||||
shell: >
|
|
||||||
systemctl --user --now enable pipewire pipewire-pulse
|
|
||||||
become: true
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
- vdirsyncer # Synchronize calendars and addressbooks
|
- vdirsyncer # Synchronize calendars and addressbooks
|
||||||
- neofetch # Simple system information script
|
- neofetch # Simple system information script
|
||||||
- zk
|
- zk
|
||||||
|
- fzf
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -1,21 +1,36 @@
|
|||||||
# Provision Fedora
|
# Provision Arch
|
||||||
> \*Tips Fedora\*
|
> \*I use arch btw\*
|
||||||
|
|
||||||
Jumpstart scripts to install Fedora with packages and configs I use.
|
Jumpstart scripts to install Arch with packages and configs I use.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Install Fedora Workstation with BTRFS and partition:
|
Install Arch with BTRFS and partition:
|
||||||
|
|
||||||
```
|
```
|
||||||
1. 512Mb EFI partition at /boot/EFI
|
1. 512Mb EFI partition at /boot/EFI
|
||||||
2. BTRFS volume "root" at / that fills rest of drive
|
2. BTRFS volume with subvolumes:
|
||||||
3. BTFS subvolume "home" at /home
|
@ -> /
|
||||||
|
@home -> /home
|
||||||
|
@log -> /var/log
|
||||||
|
@pkg -> /var/cache/pacman/pkg
|
||||||
|
@.snapshots -> /.snapshots
|
||||||
|
@home/.snapshots /home/.snapshots
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Select pipwire for audio, networkmanager for network, and install.
|
||||||
|
|
||||||
Run the following commands:
|
Run the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
pacman -S --needed git base-devel vim
|
||||||
|
|
||||||
|
# Install yay
|
||||||
|
git clone https://aur.archlinux.org/yay.git
|
||||||
|
cd yay
|
||||||
|
makepkg -si
|
||||||
|
|
||||||
|
# Get jumpstart files
|
||||||
sudo dnf install vim git -y
|
sudo dnf install vim git -y
|
||||||
git clone --recurse-submodules https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi
|
git clone --recurse-submodules https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi
|
||||||
```
|
```
|
||||||
@ -23,11 +38,11 @@ git clone --recurse-submodules https://github.com/starr-dusT/dotfiles ~/.local/s
|
|||||||
Copy `.chezmoidata.yaml.example` to `.chezmoidata.yaml` and edit with desired settings then run the following commands:
|
Copy `.chezmoidata.yaml.example` to `.chezmoidata.yaml` and edit with desired settings then run the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
~/.local/share/chezmoi/provision/fedora/jumpstart.sh
|
~/.local/share/chezmoi/provision/arch/jumpstart.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Perform additional setup found in [additional-setup](additional-setup.md)
|
Perform additional setup found in [additional-setup](additional-setup.md)
|
||||||
|
|
||||||
## Update Setup
|
## Update Setup
|
||||||
|
|
||||||
`linux-update --fedora` command updates the system with ansible. Run `linux-update -h` for information on usage.
|
`linux-update --arch` command updates the system with ansible. Run `linux-update -h` for information on usage.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user