mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-09 17:41:12 +10:00
Minor edits
Merge branch 'master' of gitlab.com:dwt1/dotfiles
This commit is contained in:
+29
-24
@@ -242,15 +242,15 @@ keys = [
|
|||||||
Key([], "e", lazy.spawn("dm-confedit -r"), desc='Choose a config file to edit'),
|
Key([], "e", lazy.spawn("dm-confedit -r"), desc='Choose a config file to edit'),
|
||||||
Key([], "i", lazy.spawn("dm-maim -r"), desc='Take a screenshot'),
|
Key([], "i", lazy.spawn("dm-maim -r"), desc='Take a screenshot'),
|
||||||
Key([], "k", lazy.spawn("dm-kill -r"), desc='Kill processes '),
|
Key([], "k", lazy.spawn("dm-kill -r"), desc='Kill processes '),
|
||||||
Key([], "m", lazy.spawn("dm-music -r"), desc='Toggle music mpc/mpd'),
|
Key([], "m", lazy.spawn("dm-man -r"), desc='View manpages'),
|
||||||
Key([], "M", lazy.spawn("dm-man -r"), desc='View manpages'),
|
|
||||||
Key([], "n", lazy.spawn("dm-note -r"), desc='Store and copy notes'),
|
Key([], "n", lazy.spawn("dm-note -r"), desc='Store and copy notes'),
|
||||||
Key([], "o", lazy.spawn("dm-bookman -r"), desc='Browser bookmarks'),
|
Key([], "o", lazy.spawn("dm-bookman -r"), desc='Browser bookmarks'),
|
||||||
Key([], "p", lazy.spawn("rofi-pass"), desc='Password menu'),
|
Key([], "p", lazy.spawn("rofi-pass"), desc='Password menu'),
|
||||||
Key([], "q", lazy.spawn("dm-logout -r"), desc='Logout menu'),
|
Key([], "q", lazy.spawn("dm-logout -r"), desc='Logout menu'),
|
||||||
Key([], "r", lazy.spawn("dm-radio -r"), desc='Listen to online radio'),
|
Key([], "r", lazy.spawn("dm-radio -r"), desc='Listen to online radio'),
|
||||||
Key([], "s", lazy.spawn("dm-websearch -r"), desc='Search various engines'),
|
Key([], "s", lazy.spawn("dm-websearch -r"), desc='Search various engines'),
|
||||||
Key([], "t", lazy.spawn("dm-translate -r"), desc='Translate text')
|
Key([], "t", lazy.spawn("dm-translate -r"), desc='Translate text'),
|
||||||
|
Key([], "u", lazy.spawn("dm-music -r"), desc='Toggle music mpc/mpd')
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -263,14 +263,14 @@ Groups are really workspaces. group_names should remain 1-9 so the MOD+1-9 keyb
|
|||||||
groups = []
|
groups = []
|
||||||
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
|
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
|
||||||
|
|
||||||
|
# Uncomment only one of the following lines
|
||||||
|
group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"]
|
||||||
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
||||||
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
|
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
|
||||||
group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"]
|
|
||||||
#group_labels = [" ", " ", " ", " ", " ", " ", "⛨ ", " ", " "]
|
|
||||||
|
|
||||||
|
# The default layout for each of the 10 workspaces
|
||||||
group_layouts = ["monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall"]
|
group_layouts = ["monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall"]
|
||||||
|
|
||||||
|
|
||||||
for i in range(len(group_names)):
|
for i in range(len(group_names)):
|
||||||
groups.append(
|
groups.append(
|
||||||
Group(
|
Group(
|
||||||
@@ -406,9 +406,9 @@ def init_widgets_list():
|
|||||||
foreground = colors[1]
|
foreground = colors[1]
|
||||||
),
|
),
|
||||||
widget.GroupBox(
|
widget.GroupBox(
|
||||||
fontsize = 10,
|
fontsize = 12,
|
||||||
margin_y = 5,
|
margin_y = 5,
|
||||||
margin_x = 12,
|
margin_x = 16,
|
||||||
padding_y = 0,
|
padding_y = 0,
|
||||||
padding_x = 0,
|
padding_x = 0,
|
||||||
borderwidth = 3,
|
borderwidth = 3,
|
||||||
@@ -435,8 +435,8 @@ def init_widgets_list():
|
|||||||
("📁", "pcmanfm", "PCManFM file manager"),
|
("📁", "pcmanfm", "PCManFM file manager"),
|
||||||
("🎸", "vlc", "VLC media player")
|
("🎸", "vlc", "VLC media player")
|
||||||
],
|
],
|
||||||
fontsize = 10,
|
fontsize = 12,
|
||||||
padding = 10,
|
padding = 12,
|
||||||
foreground = colors[3],
|
foreground = colors[3],
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
@@ -459,24 +459,25 @@ def init_widgets_list():
|
|||||||
),
|
),
|
||||||
widget.WindowName(
|
widget.WindowName(
|
||||||
foreground = colors[6],
|
foreground = colors[6],
|
||||||
padding = 4,
|
padding = 8,
|
||||||
max_chars = 40
|
max_chars = 40
|
||||||
),
|
),
|
||||||
widget.GenPollText(
|
widget.GenPollText(
|
||||||
update_interval = 300,
|
update_interval = 300,
|
||||||
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
||||||
foreground = colors[3],
|
foreground = colors[3],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
fmt = '❤ {}',
|
fmt = '❤ {}',
|
||||||
),
|
),
|
||||||
widget.CPU(
|
widget.CPU(
|
||||||
format = ' Cpu: {load_percent}%',
|
|
||||||
foreground = colors[4],
|
foreground = colors[4],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
||||||
|
format = ' Cpu: {load_percent}%',
|
||||||
),
|
),
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
foreground = colors[8],
|
foreground = colors[8],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
||||||
format = '{MemUsed: .0f}{mm}',
|
format = '{MemUsed: .0f}{mm}',
|
||||||
fmt = '🖥 Mem: {}',
|
fmt = '🖥 Mem: {}',
|
||||||
@@ -484,8 +485,8 @@ def init_widgets_list():
|
|||||||
widget.DF(
|
widget.DF(
|
||||||
update_interval = 60,
|
update_interval = 60,
|
||||||
foreground = colors[5],
|
foreground = colors[5],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e df')},
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn('notify-disk')},
|
||||||
partition = '/',
|
partition = '/',
|
||||||
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
||||||
format = '{uf}{m} free',
|
format = '{uf}{m} free',
|
||||||
@@ -494,15 +495,19 @@ def init_widgets_list():
|
|||||||
),
|
),
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
foreground = colors[7],
|
foreground = colors[7],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
fmt = '🕫 Vol: {}',
|
fmt = '🕫 Vol: {}',
|
||||||
),
|
),
|
||||||
widget.Clock(
|
widget.Clock(
|
||||||
foreground = colors[8],
|
foreground = colors[8],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
format = "⧗ %a, %b %d - %H:%M",
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn('notify-date')},
|
||||||
|
## Uncomment for date and time
|
||||||
|
# format = "⧗ %a, %b %d - %H:%M",
|
||||||
|
## Uncomment for time only
|
||||||
|
format = "⧗ %I:%M %p",
|
||||||
),
|
),
|
||||||
widget.Systray(padding = 3),
|
widget.Systray(padding = 6),
|
||||||
widget.Spacer(length = 8),
|
widget.Spacer(length = 8),
|
||||||
|
|
||||||
]
|
]
|
||||||
@@ -528,9 +533,9 @@ def init_widgets_screen2():
|
|||||||
# For ex: Screen(top=bar.Bar(widgets=init_widgets_screen2(), background="#00000000", size=24)),
|
# For ex: Screen(top=bar.Bar(widgets=init_widgets_screen2(), background="#00000000", size=24)),
|
||||||
|
|
||||||
def init_screens():
|
def init_screens():
|
||||||
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), margin=[8, 12, 0, 12], size=28)),
|
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), margin=[8, 12, 0, 12], size=30)),
|
||||||
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=28)),
|
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=30)),
|
||||||
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=28))]
|
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=30))]
|
||||||
|
|
||||||
if __name__ in ["config", "__main__"]:
|
if __name__ in ["config", "__main__"]:
|
||||||
screens = init_screens()
|
screens = init_screens()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
COLORSCHEME=tomorrow-night
|
COLORSCHEME=doom-one
|
||||||
|
|
||||||
### AUTOSTART PROGRAMS ###
|
### AUTOSTART PROGRAMS ###
|
||||||
|
|
||||||
|
|||||||
+26
-21
@@ -181,14 +181,14 @@ keys = [
|
|||||||
groups = []
|
groups = []
|
||||||
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
|
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
|
||||||
|
|
||||||
|
# Uncomment only one of the following lines
|
||||||
|
group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"]
|
||||||
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
||||||
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
|
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
|
||||||
group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"]
|
|
||||||
#group_labels = [" ", " ", " ", " ", " ", " ", "⛨ ", " ", " "]
|
|
||||||
|
|
||||||
|
# The default layout for each of the 10 workspaces
|
||||||
group_layouts = ["monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall"]
|
group_layouts = ["monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall"]
|
||||||
|
|
||||||
|
|
||||||
for i in range(len(group_names)):
|
for i in range(len(group_names)):
|
||||||
groups.append(
|
groups.append(
|
||||||
Group(
|
Group(
|
||||||
@@ -284,9 +284,9 @@ def init_widgets_list():
|
|||||||
foreground = colors[1]
|
foreground = colors[1]
|
||||||
),
|
),
|
||||||
widget.GroupBox(
|
widget.GroupBox(
|
||||||
fontsize = 10,
|
fontsize = 12,
|
||||||
margin_y = 5,
|
margin_y = 5,
|
||||||
margin_x = 12,
|
margin_x = 16,
|
||||||
padding_y = 0,
|
padding_y = 0,
|
||||||
padding_x = 0,
|
padding_x = 0,
|
||||||
borderwidth = 3,
|
borderwidth = 3,
|
||||||
@@ -313,8 +313,8 @@ def init_widgets_list():
|
|||||||
("📁", "pcmanfm", "PCManFM file manager"),
|
("📁", "pcmanfm", "PCManFM file manager"),
|
||||||
("🎸", "vlc", "VLC media player")
|
("🎸", "vlc", "VLC media player")
|
||||||
],
|
],
|
||||||
fontsize = 10,
|
fontsize = 12,
|
||||||
padding = 10,
|
padding = 12,
|
||||||
foreground = colors[3],
|
foreground = colors[3],
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
@@ -337,24 +337,25 @@ def init_widgets_list():
|
|||||||
),
|
),
|
||||||
widget.WindowName(
|
widget.WindowName(
|
||||||
foreground = colors[6],
|
foreground = colors[6],
|
||||||
padding = 4,
|
padding = 8,
|
||||||
max_chars = 40
|
max_chars = 40
|
||||||
),
|
),
|
||||||
widget.GenPollText(
|
widget.GenPollText(
|
||||||
update_interval = 300,
|
update_interval = 300,
|
||||||
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
||||||
foreground = colors[3],
|
foreground = colors[3],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
fmt = '❤ {}',
|
fmt = '❤ {}',
|
||||||
),
|
),
|
||||||
widget.CPU(
|
widget.CPU(
|
||||||
format = ' Cpu: {load_percent}%',
|
|
||||||
foreground = colors[4],
|
foreground = colors[4],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
||||||
|
format = ' Cpu: {load_percent}%',
|
||||||
),
|
),
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
foreground = colors[8],
|
foreground = colors[8],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
||||||
format = '{MemUsed: .0f}{mm}',
|
format = '{MemUsed: .0f}{mm}',
|
||||||
fmt = '🖥 Mem: {}',
|
fmt = '🖥 Mem: {}',
|
||||||
@@ -362,8 +363,8 @@ def init_widgets_list():
|
|||||||
widget.DF(
|
widget.DF(
|
||||||
update_interval = 60,
|
update_interval = 60,
|
||||||
foreground = colors[5],
|
foreground = colors[5],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e df')},
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn('notify-disk')},
|
||||||
partition = '/',
|
partition = '/',
|
||||||
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
||||||
format = '{uf}{m} free',
|
format = '{uf}{m} free',
|
||||||
@@ -372,15 +373,19 @@ def init_widgets_list():
|
|||||||
),
|
),
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
foreground = colors[7],
|
foreground = colors[7],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
fmt = '🕫 Vol: {}',
|
fmt = '🕫 Vol: {}',
|
||||||
),
|
),
|
||||||
widget.Clock(
|
widget.Clock(
|
||||||
foreground = colors[8],
|
foreground = colors[8],
|
||||||
padding = 6,
|
padding = 8,
|
||||||
format = "⧗ %a, %b %d - %H:%M",
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn('notify-date')},
|
||||||
|
## Uncomment for date and time
|
||||||
|
# format = "⧗ %a, %b %d - %H:%M",
|
||||||
|
## Uncomment for time only
|
||||||
|
format = "⧗ %I:%M %p",
|
||||||
),
|
),
|
||||||
widget.Systray(padding = 3),
|
widget.Systray(padding = 6),
|
||||||
widget.Spacer(length = 8),
|
widget.Spacer(length = 8),
|
||||||
|
|
||||||
]
|
]
|
||||||
@@ -400,9 +405,9 @@ def init_widgets_screen2():
|
|||||||
# For ex: Screen(top=bar.Bar(widgets=init_widgets_screen2(), background="#00000000", size=24)),
|
# For ex: Screen(top=bar.Bar(widgets=init_widgets_screen2(), background="#00000000", size=24)),
|
||||||
|
|
||||||
def init_screens():
|
def init_screens():
|
||||||
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), margin=[8, 12, 0, 12], size=28)),
|
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), margin=[8, 12, 0, 12], size=30)),
|
||||||
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=28)),
|
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=30)),
|
||||||
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=28))]
|
Screen(top=bar.Bar(widgets=init_widgets_screen2(), margin=[8, 12, 0, 12], size=30))]
|
||||||
|
|
||||||
if __name__ in ["config", "__main__"]:
|
if __name__ in ["config", "__main__"]:
|
||||||
screens = init_screens()
|
screens = init_screens()
|
||||||
|
|||||||
+61
-10
@@ -33,153 +33,204 @@ main() {
|
|||||||
|
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
'doom-one')
|
'doom-one')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/doom_one.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/doom_one.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.DoomOne/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.DoomOne/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.DoomOne/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.DoomOne/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-one t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-one t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-one t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-one t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'dracula')
|
'dracula')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/dracula.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/dracula.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.Dracula/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.Dracula/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.Dracula/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.Dracula/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-dracula t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-dracula t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-dracula t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-dracula t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'gruvbox-dark')
|
'gruvbox-dark')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/gruvbox_dark.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/gruvbox_dark.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.GruvboxDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.GruvboxDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.GruvboxDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.GruvboxDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-gruvbox t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-gruvbox t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-gruvbox t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-gruvbox t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'monokai-pro')
|
'monokai-pro')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/monokai_pro.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/monokai_pro.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.MonokaiPro/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.MonokaiPro/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.MonokaiPro/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.MonokaiPro/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-monokai-pro t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-monokai-pro t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-monokai-pro t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-monokai-pro t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'nord')
|
'nord')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/nord.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/nord.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.Nord/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.Nord/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.Nord/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.Nord/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-nord t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-nord t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-nord t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-nord t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'oceanic-next')
|
'oceanic-next')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/oceanic_next.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/oceanic_next.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.OceanicNext/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.OceanicNext/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.OceanicNext/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.OceanicNext/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-oceanic-next t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-oceanic-next t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-oceanic-next t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-oceanic-next t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'palenight')
|
'palenight')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/palenight.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/palenight.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.Palenight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.Palenight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.Palenight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.Palenight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-palenight t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-palenight t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-palenight t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-palenight t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'solarized-dark')
|
'solarized-dark')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/solarized_dark.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/solarized_dark.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.SolarizedDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.SolarizedDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.SolarizedDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.SolarizedDark/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-solarized-dark t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-solarized-dark t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-solarized-dark t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-solarized-dark t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'solarized-light')
|
'solarized-light')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/solarized_light.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/solarized_light.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.SolarizedLight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.SolarizedLight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.SolarizedLight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.SolarizedLight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-solarized-light t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-solarized-light t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-solarized-light t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-solarized-light t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'tomorrow-night')
|
'tomorrow-night')
|
||||||
|
|
||||||
## ALACRITTY ##
|
## ALACRITTY ##
|
||||||
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/tomorrow_night.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
sed -i "s#^import = .*#import = [\"~/.config/alacritty/themes/themes/tomorrow_night.toml\"]#" "$HOME"/.config/alacritty/alacritty.toml || echo "Error setting Alacritty colors"
|
||||||
|
|
||||||
## QTILE ##
|
## QTILE ##
|
||||||
sed -i "s/^colors = colors.*/colors = colors.TomorrowNight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
sed -i "s/^colors = colors.*/colors = colors.TomorrowNight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors = colors."
|
||||||
sed -i "s/^colors=colors.*/colors = colors.TomorrowNight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
sed -i "s/^colors=colors.*/colors = colors.TomorrowNight/g" "$HOME"/.config/qtile/config.py || echo "Cannot find colors=colors."
|
||||||
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
sed -i "s/^COLORSCHEME=.*/COLORSCHEME=$choice/g" "$HOME"/.config/qtile/autostart.sh || echo "Cannot find COLORSCHEME."
|
||||||
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
qtile cmd-obj -o cmd -f restart && $HOME/.config/qtile/autostart.sh || echo "Qtile not running"
|
||||||
|
|
||||||
## CONKY ##
|
## CONKY ##
|
||||||
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
sed -i "s#^myConky=.*#myConky=\"$HOME/.config/conky/qtile/01/$choice.conf\"#" "$HOME"/.local/bin/conky-toggle || echo "Cannot change conky-toggle script."
|
||||||
conky-toggle && conky-toggle
|
killall conky && conky -c $HOME/.config/conky/qtile/01/$choice.conf &
|
||||||
|
|
||||||
## EMACS ##
|
## EMACS ##
|
||||||
sed -i "s/load-theme '.*/load-theme 'doom-tomorrow-night t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
sed -i "s/load-theme '.*/load-theme 'doom-tomorrow-night t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org."
|
||||||
emacsclient -e "(load-theme 'doom-tomorrow-night t)" || echo "Emacsclient not running."
|
emacsclient -e "(load-theme 'doom-tomorrow-night t)" || echo "Emacsclient not running."
|
||||||
|
|
||||||
;;
|
;;
|
||||||
'Quit this program')
|
'Quit this program')
|
||||||
echo "Program terminated." && exit 0
|
echo "Program terminated." && exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user