mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Compare commits
57 commits
7054eaef2b
...
916b4e75d7
Author | SHA1 | Date | |
---|---|---|---|
916b4e75d7 | |||
856231100c | |||
d3cb189760 | |||
5871a0776c | |||
bf47315394 | |||
9cdb25b4ac | |||
d1c0032021 | |||
9ff1ab92a8 | |||
154cf88da4 | |||
ad955825ab | |||
bd122d4c70 | |||
60fe8e7896 | |||
0c30c34384 | |||
0de2782d06 | |||
a1c2864ae6 | |||
507e5698eb | |||
b1c8b83c0f | |||
eb1fdbc6d3 | |||
f76cc075df | |||
6e90219118 | |||
c3c7c3029f | |||
18ecf6f602 | |||
8b75a2547c | |||
f2ebb1ce3a | |||
8f772b083d | |||
2946f0fe93 | |||
b1036da8fd | |||
8be33187a8 | |||
b80c31517b | |||
eaf40a3d0e | |||
7341aaee88 | |||
0bb946adab | |||
2980eaad16 | |||
867bb9a087 | |||
45048c880a | |||
c85124e1b4 | |||
ed58c860cf | |||
a877e974e6 | |||
0386f03c53 | |||
199bbb986d | |||
f0fecdae75 | |||
f1df2cdcf8 | |||
5c169d04fe | |||
f87066db78 | |||
3d87066bd8 | |||
b2cf6e880a | |||
59478a2db8 | |||
409d7d337b | |||
b226d394e6 | |||
debc35fa51 | |||
73138850fb | |||
a13b576bea | |||
ac179d9696 | |||
171d3edd66 | |||
c4caa65fcf | |||
2539f6ac96 | |||
1b902820f4 |
9 changed files with 580 additions and 92 deletions
|
@ -15,6 +15,7 @@ config/polybar/*
|
||||||
!config/polybar/custom_modules.ini
|
!config/polybar/custom_modules.ini
|
||||||
!config/ranger
|
!config/ranger
|
||||||
!config/rofi
|
!config/rofi
|
||||||
|
!config/xsettingsd
|
||||||
emacs.d/*
|
emacs.d/*
|
||||||
!emacs.d/init.el
|
!emacs.d/init.el
|
||||||
!emacs.d/snippets
|
!emacs.d/snippets
|
||||||
|
|
18
bin/tint2-launcher
Executable file
18
bin/tint2-launcher
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Terminate already running bar instances
|
||||||
|
killall -q tint2
|
||||||
|
|
||||||
|
# Wait until the processes have been shut down
|
||||||
|
while pgrep -u $UID -x tint2 >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
|
# Launch tint2
|
||||||
|
tint2 & disown
|
||||||
|
|
||||||
|
# Final command won't work without sleep
|
||||||
|
sleep 1 &&
|
||||||
|
|
||||||
|
# Keep tint2 below other windows in fullscreen
|
||||||
|
if pgrep -x "tint2" > /dev/null ; then
|
||||||
|
xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" $(xdo id -n tint2)
|
||||||
|
fi
|
|
@ -48,13 +48,16 @@ bspc desktop -f 1
|
||||||
### Autostart
|
### Autostart
|
||||||
grep -x sxhkd > /dev/null || sxhkd &
|
grep -x sxhkd > /dev/null || sxhkd &
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
$HOME/.local/bin/single-polybar-launcher &
|
|
||||||
#$HOME/.local/bin/tint2-launcher &
|
|
||||||
xsettingsd &
|
|
||||||
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
||||||
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1" &
|
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "killall -q redshift && xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1" &
|
||||||
|
xsettingsd &
|
||||||
sh ~/.fehbg &
|
sh ~/.fehbg &
|
||||||
|
#$HOME/.local/bin/single-polybar-launcher &
|
||||||
|
$HOME/.local/bin/tint2-launcher &
|
||||||
|
redshift -r &
|
||||||
|
picom &
|
||||||
dunst &
|
dunst &
|
||||||
dex -a &
|
dex -a &
|
||||||
redshift-gtk &
|
pa-notify -t 3 &
|
||||||
birdtray &
|
birdtray &
|
||||||
|
sleep 30 && nextcloud --background &
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
separator_height = 2
|
separator_height = 4
|
||||||
|
|
||||||
# Padding between text and separator.
|
# Padding between text and separator.
|
||||||
padding = 8
|
padding = 8
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = Fira Mono 11
|
font = Hack 11
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
|
|
280
config/tint2/tint2rc
Normal file
280
config/tint2/tint2rc
Normal file
|
@ -0,0 +1,280 @@
|
||||||
|
#---- Generated by tint2conf aeaf ----
|
||||||
|
# See https://gitlab.com/o9000/tint2/wikis/Configure for
|
||||||
|
# full documentation of the configuration options.
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Gradients
|
||||||
|
|
||||||
|
# Gradient 1: thin film effect
|
||||||
|
gradient = horizontal
|
||||||
|
start_color = #111122 30
|
||||||
|
end_color = #112211 30
|
||||||
|
color_stop = 60 #221111 30
|
||||||
|
|
||||||
|
# Gradient 2: radial glow
|
||||||
|
gradient = radial
|
||||||
|
start_color = #ffffff 20
|
||||||
|
end_color = #ffffff 0
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Backgrounds
|
||||||
|
|
||||||
|
# Background 1: Panel
|
||||||
|
rounded = 0
|
||||||
|
border_width = 0
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #323d43 100
|
||||||
|
border_color = #323d43 30
|
||||||
|
background_color_hover = #323d43 70
|
||||||
|
border_color_hover = #323d43 30
|
||||||
|
background_color_pressed = #323d43 100
|
||||||
|
border_color_pressed = #323d43 30
|
||||||
|
|
||||||
|
# Background 2: Default task, Iconified task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #4a555b 20
|
||||||
|
border_color = #525c62 30
|
||||||
|
background_color_hover = #aaaaaa 22
|
||||||
|
border_color_hover = #eaeaea 44
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #eaeaea 44
|
||||||
|
|
||||||
|
# Background 3: Active task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #7fbbb3 40
|
||||||
|
border_color = #d8caac 40
|
||||||
|
background_color_hover = #aaaaaa 22
|
||||||
|
border_color_hover = #eaeaea 44
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #eaeaea 44
|
||||||
|
|
||||||
|
# Background 4: Urgent task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #e26c6e 100
|
||||||
|
border_color = #d5b26b 100
|
||||||
|
background_color_hover = #dbbc7f 100
|
||||||
|
border_color_hover = #d5b26b 100
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #d5b26b 100
|
||||||
|
|
||||||
|
# Background 5: Tooltip
|
||||||
|
rounded = 1
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #9bb86f 100
|
||||||
|
border_color = #4a555b 100
|
||||||
|
background_color_hover = #ffffaa 100
|
||||||
|
border_color_hover = #000000 100
|
||||||
|
background_color_pressed = #ffffaa 100
|
||||||
|
border_color_pressed = #000000 100
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Panel
|
||||||
|
panel_items = TEEB:SCP
|
||||||
|
panel_size = 100% 48
|
||||||
|
scale_relative_to_dpi = 216
|
||||||
|
panel_margin = 0 0
|
||||||
|
panel_padding = 2 0 2
|
||||||
|
panel_background_id = 1
|
||||||
|
wm_menu = 1
|
||||||
|
panel_dock = 0
|
||||||
|
panel_position = top center horizontal
|
||||||
|
panel_layer = bottom
|
||||||
|
panel_monitor = all
|
||||||
|
panel_shrink = 0
|
||||||
|
autohide = 0
|
||||||
|
autohide_show_timeout = 0
|
||||||
|
autohide_hide_timeout = 0.5
|
||||||
|
autohide_height = 2
|
||||||
|
strut_policy = follow_size
|
||||||
|
panel_window_name = tint2
|
||||||
|
disable_transparency = 1
|
||||||
|
mouse_effects = 1
|
||||||
|
font_shadow = 0
|
||||||
|
mouse_hover_icon_asb = 100 0 10
|
||||||
|
mouse_pressed_icon_asb = 100 0 0
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Taskbar
|
||||||
|
taskbar_mode = multi_desktop
|
||||||
|
taskbar_hide_if_empty = 1
|
||||||
|
taskbar_padding = 0 0 2
|
||||||
|
taskbar_background_id = 0
|
||||||
|
taskbar_active_background_id = 0
|
||||||
|
taskbar_name = 1
|
||||||
|
taskbar_hide_inactive_tasks = 0
|
||||||
|
taskbar_hide_different_monitor = 0
|
||||||
|
taskbar_hide_different_desktop = 0
|
||||||
|
taskbar_always_show_all_desktop_tasks = 0
|
||||||
|
taskbar_name_padding = 4 2
|
||||||
|
taskbar_name_background_id = 0
|
||||||
|
taskbar_name_active_background_id = 0
|
||||||
|
taskbar_name_font = Hack 18
|
||||||
|
taskbar_name_font_color = #d8caac 100
|
||||||
|
taskbar_name_active_font_color = #d0bf9b 100
|
||||||
|
taskbar_distribute_size = 0
|
||||||
|
taskbar_sort_order = none
|
||||||
|
task_align = left
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Task
|
||||||
|
task_text = 1
|
||||||
|
task_icon = 1
|
||||||
|
task_centered = 1
|
||||||
|
urgent_nb_of_blink = 100000
|
||||||
|
task_maximum_size = 150 35
|
||||||
|
task_padding = 2 4 2
|
||||||
|
task_tooltip = 1
|
||||||
|
task_thumbnail = 0
|
||||||
|
task_thumbnail_size = 210
|
||||||
|
task_font = Hack 10
|
||||||
|
task_font_color = #d8caac 100
|
||||||
|
task_background_id = 2
|
||||||
|
task_active_background_id = 3
|
||||||
|
task_urgent_background_id = 4
|
||||||
|
task_iconified_background_id = 2
|
||||||
|
mouse_left = toggle
|
||||||
|
mouse_middle = none
|
||||||
|
mouse_right = close
|
||||||
|
mouse_scroll_up = prev_task
|
||||||
|
mouse_scroll_down = next_task
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# System tray (notification area)
|
||||||
|
systray_padding = 2 4 4
|
||||||
|
systray_background_id = 0
|
||||||
|
systray_sort = ascending
|
||||||
|
systray_icon_size = 28
|
||||||
|
systray_icon_asb = 100 0 0
|
||||||
|
systray_monitor = 1
|
||||||
|
systray_name_filter =
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Launcher
|
||||||
|
launcher_padding = 2 4 2
|
||||||
|
launcher_background_id = 0
|
||||||
|
launcher_icon_background_id = 0
|
||||||
|
launcher_icon_size = 24
|
||||||
|
launcher_icon_asb = 100 0 0
|
||||||
|
launcher_icon_theme_override = 0
|
||||||
|
startup_notifications = 1
|
||||||
|
launcher_tooltip = 1
|
||||||
|
launcher_item_app = tint2conf.desktop
|
||||||
|
launcher_item_app = firefox.desktop
|
||||||
|
launcher_item_app = iceweasel.desktop
|
||||||
|
launcher_item_app = chromium-browser.desktop
|
||||||
|
launcher_item_app = google-chrome.desktop
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Clock
|
||||||
|
time1_format = %H:%M
|
||||||
|
time2_format = %a %d %b
|
||||||
|
time1_font = Hack 14
|
||||||
|
time2_font = Hack 10
|
||||||
|
time1_timezone =
|
||||||
|
time2_timezone =
|
||||||
|
clock_font_color = #d8caac 100
|
||||||
|
clock_padding = 6 0
|
||||||
|
clock_background_id = 0
|
||||||
|
clock_tooltip = %H:%M %A %d %B %Y
|
||||||
|
clock_tooltip_timezone =
|
||||||
|
clock_lclick_command = gsimplecal
|
||||||
|
clock_rclick_command =
|
||||||
|
clock_mclick_command =
|
||||||
|
clock_uwheel_command =
|
||||||
|
clock_dwheel_command =
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Battery
|
||||||
|
battery_tooltip = 1
|
||||||
|
battery_low_status = 10
|
||||||
|
battery_low_cmd = notify-send "Low battery: 10%"
|
||||||
|
battery_full_cmd = notify-send "Battery done charging"
|
||||||
|
bat1_font = Hack 14
|
||||||
|
battery_font_color = #d8caac 100
|
||||||
|
bat1_format = | Bat: %s %p %t
|
||||||
|
bat2_format =
|
||||||
|
battery_padding = 1 0
|
||||||
|
battery_background_id = 0
|
||||||
|
battery_hide = 101
|
||||||
|
battery_lclick_command =
|
||||||
|
battery_rclick_command =
|
||||||
|
battery_mclick_command =
|
||||||
|
battery_uwheel_command =
|
||||||
|
battery_dwheel_command =
|
||||||
|
ac_connected_cmd = notify-send "AC Power connected"
|
||||||
|
ac_disconnected_cmd = "AC Power disconnected"
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Tooltip
|
||||||
|
tooltip_show_timeout = 0.5
|
||||||
|
tooltip_hide_timeout = 0.1
|
||||||
|
tooltip_padding = 4 4
|
||||||
|
tooltip_background_id = 5
|
||||||
|
tooltip_font_color = #4a555b 100
|
||||||
|
tooltip_font = Hack 14
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Separators
|
||||||
|
|
||||||
|
# Separator1
|
||||||
|
separator = new
|
||||||
|
separator_background_id = 0
|
||||||
|
separator_color = #7fbbb3
|
||||||
|
separator_style = dots
|
||||||
|
separator_size = 4
|
||||||
|
separator_padding = 12 0
|
||||||
|
|
||||||
|
# Separator2
|
||||||
|
separator = new
|
||||||
|
separator_background_id = 0
|
||||||
|
separator_color = #7fbbb3 80
|
||||||
|
separator_style = line
|
||||||
|
separator_size = 2
|
||||||
|
separator_padding = 12 0
|
||||||
|
|
||||||
|
# Separator3
|
||||||
|
separator = new
|
||||||
|
separator_background_id = 0
|
||||||
|
separator_color = #7fbbb3
|
||||||
|
separator_style = empty
|
||||||
|
separator_size = 6
|
||||||
|
separator_padding = 12 0
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Executors
|
||||||
|
|
||||||
|
# Exec1
|
||||||
|
# Note the use of "stdbuf -oL" to force the program to flush the output line by line.
|
||||||
|
execp = new
|
||||||
|
execp_command = free -b -s10| stdbuf -oL awk '/^Mem:/ { printf "Mem: %s / \n", $3 }' | stdbuf -oL numfmt --to=iec-i --field=2 -d' '
|
||||||
|
execp_interval = 10
|
||||||
|
execp_continuous = 1
|
||||||
|
execp_font = Hack 14
|
||||||
|
execp_font_color = #d8caac 100
|
||||||
|
|
||||||
|
# Exec2
|
||||||
|
execp = new
|
||||||
|
execp_command = free -b -s10| stdbuf -oL awk '/^Mem:/ { printf "%s %.0f%%\n", $2, 100 * ($2 - $7) / $2 }' | stdbuf -oL numfmt --to=iec-i --field=1 -d' '
|
||||||
|
execp_interval = 10
|
||||||
|
execp_continuous = 1
|
||||||
|
execp_font = Hack 14
|
||||||
|
execp_font_color = #d8caac 100
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Buttons
|
||||||
|
|
||||||
|
#Button1
|
||||||
|
button = new
|
||||||
|
button_text =
|
||||||
|
button_icon = /usr/share/icons/Papirus-Dark/24x24/actions/exit.svg
|
||||||
|
button_background_id = 0
|
||||||
|
button_lclick_command = rofi -dpi 240 -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
|
||||||
|
button_mclick_command = rofi -dpi 240 -show power-menu -modi power-menu:"/usr/bin/rofi-power-menu --choose suspend/hibernate"
|
||||||
|
button_rclick_command = rofi -dpi 240 -show power-menu -modi power-menu:"/usr/bin/rofi-power-menu --choices reboot/shutdown"
|
201
config/tint2/tint2rc.default
Normal file
201
config/tint2/tint2rc.default
Normal file
|
@ -0,0 +1,201 @@
|
||||||
|
#---- Generated by tint2conf aeaf ----
|
||||||
|
# See https://gitlab.com/o9000/tint2/wikis/Configure for
|
||||||
|
# full documentation of the configuration options.
|
||||||
|
#-------------------------------------
|
||||||
|
# Gradients
|
||||||
|
#-------------------------------------
|
||||||
|
# Backgrounds
|
||||||
|
# Background 1: Panel
|
||||||
|
rounded = 0
|
||||||
|
border_width = 0
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #000000 60
|
||||||
|
border_color = #000000 30
|
||||||
|
background_color_hover = #000000 60
|
||||||
|
border_color_hover = #000000 30
|
||||||
|
background_color_pressed = #000000 60
|
||||||
|
border_color_pressed = #000000 30
|
||||||
|
|
||||||
|
# Background 2: Default task, Iconified task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #777777 20
|
||||||
|
border_color = #777777 30
|
||||||
|
background_color_hover = #aaaaaa 22
|
||||||
|
border_color_hover = #eaeaea 44
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #eaeaea 44
|
||||||
|
|
||||||
|
# Background 3: Active task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #777777 20
|
||||||
|
border_color = #ffffff 40
|
||||||
|
background_color_hover = #aaaaaa 22
|
||||||
|
border_color_hover = #eaeaea 44
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #eaeaea 44
|
||||||
|
|
||||||
|
# Background 4: Urgent task
|
||||||
|
rounded = 4
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #aa4400 100
|
||||||
|
border_color = #aa7733 100
|
||||||
|
background_color_hover = #cc7700 100
|
||||||
|
border_color_hover = #aa7733 100
|
||||||
|
background_color_pressed = #555555 4
|
||||||
|
border_color_pressed = #aa7733 100
|
||||||
|
|
||||||
|
# Background 5: Tooltip
|
||||||
|
rounded = 1
|
||||||
|
border_width = 1
|
||||||
|
border_sides = TBLR
|
||||||
|
background_color = #222222 100
|
||||||
|
border_color = #333333 100
|
||||||
|
background_color_hover = #ffffaa 100
|
||||||
|
border_color_hover = #000000 100
|
||||||
|
background_color_pressed = #ffffaa 100
|
||||||
|
border_color_pressed = #000000 100
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Panel
|
||||||
|
panel_items = LTSC
|
||||||
|
panel_size = 100% 30
|
||||||
|
panel_margin = 0 0
|
||||||
|
panel_padding = 2 0 2
|
||||||
|
panel_background_id = 1
|
||||||
|
wm_menu = 1
|
||||||
|
panel_dock = 0
|
||||||
|
panel_position = bottom center horizontal
|
||||||
|
panel_layer = top
|
||||||
|
panel_monitor = all
|
||||||
|
panel_shrink = 0
|
||||||
|
autohide = 0
|
||||||
|
autohide_show_timeout = 0
|
||||||
|
autohide_hide_timeout = 0.5
|
||||||
|
autohide_height = 2
|
||||||
|
strut_policy = follow_size
|
||||||
|
panel_window_name = tint2
|
||||||
|
disable_transparency = 1
|
||||||
|
mouse_effects = 1
|
||||||
|
font_shadow = 0
|
||||||
|
mouse_hover_icon_asb = 100 0 10
|
||||||
|
mouse_pressed_icon_asb = 100 0 0
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Taskbar
|
||||||
|
taskbar_mode = single_desktop
|
||||||
|
taskbar_hide_if_empty = 0
|
||||||
|
taskbar_padding = 0 0 2
|
||||||
|
taskbar_background_id = 0
|
||||||
|
taskbar_active_background_id = 0
|
||||||
|
taskbar_name = 1
|
||||||
|
taskbar_hide_inactive_tasks = 0
|
||||||
|
taskbar_hide_different_monitor = 0
|
||||||
|
taskbar_hide_different_desktop = 0
|
||||||
|
taskbar_always_show_all_desktop_tasks = 0
|
||||||
|
taskbar_name_padding = 4 2
|
||||||
|
taskbar_name_background_id = 0
|
||||||
|
taskbar_name_active_background_id = 0
|
||||||
|
taskbar_name_font_color = #e3e3e3 100
|
||||||
|
taskbar_name_active_font_color = #ffffff 100
|
||||||
|
taskbar_distribute_size = 0
|
||||||
|
taskbar_sort_order = none
|
||||||
|
task_align = left
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Task
|
||||||
|
task_text = 1
|
||||||
|
task_icon = 1
|
||||||
|
task_centered = 1
|
||||||
|
urgent_nb_of_blink = 100000
|
||||||
|
task_maximum_size = 150 35
|
||||||
|
task_padding = 2 2 4
|
||||||
|
task_tooltip = 1
|
||||||
|
task_thumbnail = 0
|
||||||
|
task_thumbnail_size = 210
|
||||||
|
task_font_color = #ffffff 100
|
||||||
|
task_background_id = 2
|
||||||
|
task_active_background_id = 3
|
||||||
|
task_urgent_background_id = 4
|
||||||
|
task_iconified_background_id = 2
|
||||||
|
mouse_left = toggle_iconify
|
||||||
|
mouse_middle = none
|
||||||
|
mouse_right = close
|
||||||
|
mouse_scroll_up = toggle
|
||||||
|
mouse_scroll_down = iconify
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# System tray (notification area)
|
||||||
|
systray_padding = 0 4 2
|
||||||
|
systray_background_id = 0
|
||||||
|
systray_sort = ascending
|
||||||
|
systray_icon_size = 24
|
||||||
|
systray_icon_asb = 100 0 0
|
||||||
|
systray_monitor = 1
|
||||||
|
systray_name_filter =
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Launcher
|
||||||
|
launcher_padding = 2 4 2
|
||||||
|
launcher_background_id = 0
|
||||||
|
launcher_icon_background_id = 0
|
||||||
|
launcher_icon_size = 24
|
||||||
|
launcher_icon_asb = 100 0 0
|
||||||
|
launcher_icon_theme_override = 0
|
||||||
|
startup_notifications = 1
|
||||||
|
launcher_tooltip = 1
|
||||||
|
launcher_item_app = tint2conf.desktop
|
||||||
|
launcher_item_app = firefox.desktop
|
||||||
|
launcher_item_app = iceweasel.desktop
|
||||||
|
launcher_item_app = chromium-browser.desktop
|
||||||
|
launcher_item_app = google-chrome.desktop
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Clock
|
||||||
|
time1_format = %H:%M
|
||||||
|
time2_format = %A %d %B
|
||||||
|
time1_timezone =
|
||||||
|
time2_timezone =
|
||||||
|
clock_font_color = #ffffff 100
|
||||||
|
clock_padding = 2 0
|
||||||
|
clock_background_id = 0
|
||||||
|
clock_tooltip =
|
||||||
|
clock_tooltip_timezone =
|
||||||
|
clock_lclick_command =
|
||||||
|
clock_rclick_command = orage
|
||||||
|
clock_mclick_command =
|
||||||
|
clock_uwheel_command =
|
||||||
|
clock_dwheel_command =
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Battery
|
||||||
|
battery_tooltip = 1
|
||||||
|
battery_low_status = 10
|
||||||
|
battery_low_cmd = xmessage 'tint2: Battery low!'
|
||||||
|
battery_full_cmd =
|
||||||
|
battery_font_color = #ffffff 100
|
||||||
|
bat1_format =
|
||||||
|
bat2_format =
|
||||||
|
battery_padding = 1 0
|
||||||
|
battery_background_id = 0
|
||||||
|
battery_hide = 101
|
||||||
|
battery_lclick_command =
|
||||||
|
battery_rclick_command =
|
||||||
|
battery_mclick_command =
|
||||||
|
battery_uwheel_command =
|
||||||
|
battery_dwheel_command =
|
||||||
|
ac_connected_cmd =
|
||||||
|
ac_disconnected_cmd =
|
||||||
|
|
||||||
|
#-------------------------------------
|
||||||
|
# Tooltip
|
||||||
|
tooltip_show_timeout = 0.5
|
||||||
|
tooltip_hide_timeout = 0.1
|
||||||
|
tooltip_padding = 4 4
|
||||||
|
tooltip_background_id = 5
|
||||||
|
tooltip_font_color = #dddddd 100
|
||||||
|
|
6
config/xsettingsd/xsettingsd.conf
Normal file
6
config/xsettingsd/xsettingsd.conf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Net/IconThemeName "Papirus-Dark"
|
||||||
|
Net/ThemeName "Materia-dark"
|
||||||
|
Xft/Hinting 1
|
||||||
|
Xft/HintStyle "hintfull"
|
||||||
|
Xft/Antialias 1
|
||||||
|
Xft/RGBA "rgb"
|
109
emacs.d/init.el
109
emacs.d/init.el
|
@ -6,7 +6,7 @@
|
||||||
(scroll-bar-mode -1) ; Disable visible scrollbar
|
(scroll-bar-mode -1) ; Disable visible scrollbar
|
||||||
(tool-bar-mode -1) ; Disable the toolbar
|
(tool-bar-mode -1) ; Disable the toolbar
|
||||||
(tooltip-mode -1) ; Disable tooltips
|
(tooltip-mode -1) ; Disable tooltips
|
||||||
(set-fringe-mode 10) ; Give some breathing room
|
(set-fringe-mode 10) ; Add come extra space to the left/right sides
|
||||||
(menu-bar-mode -1) ; Disable the menu bar
|
(menu-bar-mode -1) ; Disable the menu bar
|
||||||
(setq-default custom-file null-device) ; Write customizations not in this file to the null device (AKA stop littering in my init.el)
|
(setq-default custom-file null-device) ; Write customizations not in this file to the null device (AKA stop littering in my init.el)
|
||||||
(setq confirm-kill-processes nil) ; Stop asking about running processes on exit
|
(setq confirm-kill-processes nil) ; Stop asking about running processes on exit
|
||||||
|
@ -68,11 +68,11 @@
|
||||||
conf-mode-hook))
|
conf-mode-hook))
|
||||||
(add-hook mode (lambda () (display-line-numbers-mode 1))))
|
(add-hook mode (lambda () (display-line-numbers-mode 1))))
|
||||||
|
|
||||||
;; Show vertical line at column 80 to keep code clean in prog-mode
|
;; Show vertical line at column 80 in prog-mode
|
||||||
(setq-default fill-column 80)
|
(setq-default fill-column 80)
|
||||||
(add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
|
(add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
|
||||||
|
|
||||||
; Override some modes which derive from the above
|
; No line numbers in org-mode
|
||||||
(dolist (mode '(org-mode-hook))
|
(dolist (mode '(org-mode-hook))
|
||||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
;; :config
|
;; :config
|
||||||
;; (load-theme 'gruvbox-dark-soft t))
|
;; (load-theme 'gruvbox-dark-soft t))
|
||||||
|
|
||||||
(add-to-list 'custom-theme-load-path "~/.cache/emacs/straight/build/everforest")
|
(add-to-list 'custom-theme-load-path "~/.cache/emacs/custom/everforest-theme")
|
||||||
(load-theme 'everforest-hard-dark t)
|
(load-theme 'everforest-hard-dark t)
|
||||||
|
|
||||||
;; Help distinguish work buffers from others like sidebars and terminal
|
;; Help distinguish work buffers from others like sidebars and terminal
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'cl-lib))
|
(require 'cl-lib))
|
||||||
(require 'dap-python)
|
(require 'dap-python)
|
||||||
(require 'dap-node)
|
;(require 'dap-node)
|
||||||
(require 'dap-lldb)
|
(require 'dap-lldb)
|
||||||
:bind
|
:bind
|
||||||
(:map dap-mode-map
|
(:map dap-mode-map
|
||||||
|
@ -349,9 +349,9 @@
|
||||||
|
|
||||||
;; Golang
|
;; Golang
|
||||||
|
|
||||||
(use-package go-mode
|
;; (use-package go-mode
|
||||||
:config
|
;; :config
|
||||||
(add-hook 'before-save-hook #'lsp-organize-imports))
|
;; (add-hook 'before-save-hook #'lsp-organize-imports))
|
||||||
|
|
||||||
;; Java
|
;; Java
|
||||||
|
|
||||||
|
@ -359,35 +359,35 @@
|
||||||
|
|
||||||
;; JavaScript/TypeScript, HTML, CSS
|
;; JavaScript/TypeScript, HTML, CSS
|
||||||
|
|
||||||
(setq css-indent-level 2)
|
;; (setq css-indent-level 2)
|
||||||
(setq css-indent-offset 2)
|
;; (setq css-indent-offset 2)
|
||||||
(setq js-indent-level 2)
|
;; (setq js-indent-level 2)
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.mjs\\'" . js-mode))
|
;; (add-to-list 'auto-mode-alist '("\\.mjs\\'" . js-mode))
|
||||||
|
|
||||||
(use-package js2-mode
|
;; (use-package js2-mode
|
||||||
:config
|
;; :config
|
||||||
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
;; (add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
||||||
;(setq js2-strict-missing-semi-warning t)
|
;; ;(setq js2-strict-missing-semi-warning t)
|
||||||
(setq js2-mode-show-strict-warnings t)
|
;; (setq js2-mode-show-strict-warnings t)
|
||||||
:hook (js-mode . js2-minor-mode))
|
;; :hook (js-mode . js2-minor-mode))
|
||||||
|
|
||||||
(use-package typescript-mode
|
;; (use-package typescript-mode
|
||||||
:config
|
;; :config
|
||||||
(setq typescript-indent-level 2)
|
;; (setq typescript-indent-level 2)
|
||||||
:mode ("\\.ts\\'" . typescript-mode)
|
;; :mode ("\\.ts\\'" . typescript-mode)
|
||||||
("\\.tsx\\'" . typescript-mode))
|
;; ("\\.tsx\\'" . typescript-mode))
|
||||||
|
|
||||||
(use-package restclient
|
;; (use-package restclient
|
||||||
:init
|
;; :init
|
||||||
(use-package company-restclient)
|
;; (use-package company-restclient)
|
||||||
:mode ("\\.http\\'" . restclient-mode))
|
;; :mode ("\\.http\\'" . restclient-mode))
|
||||||
|
|
||||||
(use-package rainbow-mode
|
;; (use-package rainbow-mode
|
||||||
:hook
|
;; :hook
|
||||||
((js-mode . rainbow-mode)
|
;; ((js-mode . rainbow-mode)
|
||||||
(typescript-mode . rainbow-mode)
|
;; (typescript-mode . rainbow-mode)
|
||||||
(web-mode . rainbow-mode)))
|
;; (web-mode . rainbow-mode)))
|
||||||
|
|
||||||
;; (use-package skewer-mode
|
;; (use-package skewer-mode
|
||||||
;; :init
|
;; :init
|
||||||
|
@ -404,36 +404,36 @@
|
||||||
|
|
||||||
;; (use-package simple-httpd)
|
;; (use-package simple-httpd)
|
||||||
|
|
||||||
(use-package web-mode
|
;; (use-package web-mode
|
||||||
:config
|
;; :config
|
||||||
(setq web-mode-code-indent-offset 2)
|
;; (setq web-mode-code-indent-offset 2)
|
||||||
(setq web-mode-markup-indent-offset 2)
|
;; (setq web-mode-markup-indent-offset 2)
|
||||||
(setq web-mode-attribute-indent-offset 2)
|
;; (setq web-mode-attribute-indent-offset 2)
|
||||||
:mode
|
;; :mode
|
||||||
(("\\.phtml\\'" . web-mode)
|
;; (("\\.phtml\\'" . web-mode)
|
||||||
("\\.tpl\\.php\\'" . web-mode)
|
;; ("\\.tpl\\.php\\'" . web-mode)
|
||||||
("\\.jsp\\'" . web-mode)
|
;; ("\\.jsp\\'" . web-mode)
|
||||||
("\\.as[cp]x\\'" . web-mode)
|
;; ("\\.as[cp]x\\'" . web-mode)
|
||||||
("\\.erb\\'" . web-mode)
|
;; ("\\.erb\\'" . web-mode)
|
||||||
("\\.mustache\\'" . web-mode)
|
;; ("\\.mustache\\'" . web-mode)
|
||||||
("\\.djhtml\\'" . web-mode)
|
;; ("\\.djhtml\\'" . web-mode)
|
||||||
("\\.jst.ejs\\'" . web-mode)
|
;; ("\\.jst.ejs\\'" . web-mode)
|
||||||
("\\.html?\\'" . web-mode)))
|
;; ("\\.html?\\'" . web-mode)))
|
||||||
|
|
||||||
(use-package jsdoc
|
;; (use-package jsdoc
|
||||||
:straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")
|
;; :straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")
|
||||||
:bind ("C-c C-n" . jsdoc))
|
;; :bind ("C-c C-n" . jsdoc))
|
||||||
|
|
||||||
;; LaTeX
|
;; LaTeX
|
||||||
|
|
||||||
(use-package lsp-latex)
|
;; (use-package lsp-latex)
|
||||||
|
|
||||||
(setq lsp-tex-server 'digestif)
|
;; (setq lsp-tex-server 'digestif)
|
||||||
|
|
||||||
|
|
||||||
;; Protocol Buffers
|
;; Protocol Buffers
|
||||||
|
|
||||||
(use-package protobuf-mode)
|
;; (use-package protobuf-mode)
|
||||||
|
|
||||||
;; Python
|
;; Python
|
||||||
|
|
||||||
|
@ -481,8 +481,7 @@
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:hook (lsp-mode . flycheck-mode)
|
:hook (lsp-mode . flycheck-mode)
|
||||||
:config
|
:config
|
||||||
(setq flycheck-python-flake8-executable "flake8")
|
(setq flycheck-python-flake8-executable "flake8"))
|
||||||
(flycheck-select-checker 'python-flake8))
|
|
||||||
|
|
||||||
;; Templating
|
;; Templating
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
|
|
40
install.sh
40
install.sh
|
@ -14,32 +14,9 @@ exec 1>$log_file 2>&1
|
||||||
|
|
||||||
## Backup current files and folders
|
## Backup current files and folders
|
||||||
mkdir -p $backup
|
mkdir -p $backup
|
||||||
cp -a ~/.bash_profile $backup/
|
mv -f ~/{.bash_profile,.bashrc,.profile,.emacs,.emacs.d,.vimrc,.xinitrc,.Xresources} $backup/
|
||||||
cp -a ~/.bashrc $backup/
|
mv -f $config_dir/{bspwm,dunst,kitty,nvim,polybar,rofi,sxhkd,tint2,xsettingsd} $backup/
|
||||||
cp -a ~/.profile $backup/
|
mv -f $bin_dir $backup/
|
||||||
cp -a ~/.emacs $backup/
|
|
||||||
cp -a ~/.emacs.d $backup/
|
|
||||||
cp -a ~/.Xresources $backup/
|
|
||||||
cp -a $config_dir/bspwm $backup/
|
|
||||||
cp -a $config_dir/dunst $backup/
|
|
||||||
cp -a $config_dir/kitty $backup/
|
|
||||||
cp -a $config_dir/nvim $backup/
|
|
||||||
cp -a $config_dir/polybar $backup/
|
|
||||||
cp -a $bin_dir $backup/
|
|
||||||
|
|
||||||
# Delete current files and folders
|
|
||||||
rm -rf ~/.bash_profile
|
|
||||||
rm -rf ~/.bashrc
|
|
||||||
rm -rf ~/.profile
|
|
||||||
rm -rf ~/.emacs
|
|
||||||
rm -rf ~/.emacs.d
|
|
||||||
rm -rf ~/.Xresources
|
|
||||||
rm -rf $config_dir/bspwm
|
|
||||||
rm -rf $config_dir/dunst
|
|
||||||
rm -rf $config_dir/kitty
|
|
||||||
rm -rf $config_dir/nvim
|
|
||||||
rm -rf $config_dir/polybar
|
|
||||||
rm -rf $bin_dir
|
|
||||||
|
|
||||||
# Create HOME symlinks
|
# Create HOME symlinks
|
||||||
ln -sf $dotfiles_dir/bashrc ~/.bashrc
|
ln -sf $dotfiles_dir/bashrc ~/.bashrc
|
||||||
|
@ -51,11 +28,11 @@ ln -sf $dotfiles_dir/vimrc ~/.vimrc
|
||||||
ln -sf $dotfiles_dir/Xresources ~/.Xresources
|
ln -sf $dotfiles_dir/Xresources ~/.Xresources
|
||||||
|
|
||||||
# Create $config_dir, sub-directories, and symlinks
|
# Create $config_dir, sub-directories, and symlinks
|
||||||
mkdir -p $config_dir/{bspwm,dunst,kitty,nvim,polybar,rofi,sxhkd}
|
mkdir -p $config_dir/{bspwm,dunst,kitty,nvim,polybar,rofi,tint2,sxhkd,xsettingsd}
|
||||||
ln -sf $dotfiles_dir/config/bspwm/bspwmrc $config_dir/bspwm/bspwmrc
|
ln -sf $dotfiles_dir/config/bspwm/bspwmrc $config_dir/bspwm/bspwmrc
|
||||||
ln -sf $dotfiles_dir/config/dunst/dunstrc $config_dir/dunst/dunstrc
|
ln -sf $dotfiles_dir/config/dunst/dunstrc $config_dir/dunst/dunstrc
|
||||||
ln -sf $dotfiles_dir/config/kitty/kitty.conf $config_dir/kitty/kitty.conf
|
ln -sf $dotfiles_dir/config/kitty/kitty.conf $config_dir/kitty/kitty.conf
|
||||||
#ln -sf $dotfiles_dir/config/kitty/gruvbox.conf $config_dir/kitty/gruvbox.conf
|
ln -sf $dotfiles_dir/config/kitty/gruvbox.conf $config_dir/kitty/gruvbox.conf
|
||||||
ln -sf $dotfiles_dir/config/kitty/zenburn.conf $config_dir/kitty/zenburn.conf
|
ln -sf $dotfiles_dir/config/kitty/zenburn.conf $config_dir/kitty/zenburn.conf
|
||||||
ln -sf $dotfiles_dir/config/nvim/init.vim $config_dir/nvim/init.vim
|
ln -sf $dotfiles_dir/config/nvim/init.vim $config_dir/nvim/init.vim
|
||||||
ln -sf $dotfiles_dir/config/polybar/config.ini $config_dir/polybar/config.ini
|
ln -sf $dotfiles_dir/config/polybar/config.ini $config_dir/polybar/config.ini
|
||||||
|
@ -63,15 +40,18 @@ ln -sf $dotfiles_dir/config/polybar/colors.ini $config_dir/polybar/colors.ini
|
||||||
ln -sf $dotfiles_dir/config/polybar/modules.ini $config_dir/polybar/modules.ini
|
ln -sf $dotfiles_dir/config/polybar/modules.ini $config_dir/polybar/modules.ini
|
||||||
ln -sf $dotfiles_dir/config/polybar/custom_modules.ini $config_dir/polybar/custom_modules.ini
|
ln -sf $dotfiles_dir/config/polybar/custom_modules.ini $config_dir/polybar/custom_modules.ini
|
||||||
ln -sf $dotfiles_dir/config/rofi/config.everforest.rasi $config_dir/rofi/config.rasi
|
ln -sf $dotfiles_dir/config/rofi/config.everforest.rasi $config_dir/rofi/config.rasi
|
||||||
#ln -sf $dotfiles_dir/config/rofi/config.gruvbox.rasi $config_dir/rofi/config.rasi
|
ln -sf $dotfiles_dir/config/rofi/config.gruvbox.rasi $config_dir/rofi/config.rasi
|
||||||
#ln -sf $dotfiles_dir/config/rofi/config.zenburn.rasi $config_dir/rofi/config.rasi
|
ln -sf $dotfiles_dir/config/rofi/config.zenburn.rasi $config_dir/rofi/config.rasi
|
||||||
ln -sf $dotfiles_dir/config/sxhkd/sxhkdrc $config_dir/sxhkd/sxhkdrc
|
ln -sf $dotfiles_dir/config/sxhkd/sxhkdrc $config_dir/sxhkd/sxhkdrc
|
||||||
|
ln -sf $dotfiles_dir/config/tint2/tint2rc $config_dir/tint2/tint2rc
|
||||||
|
ln -sf $dotfiles_dir/config/xsettingsd/xsettingsd.conf $config_dir/xsettingsd/xsettingsd.conf
|
||||||
|
|
||||||
# Create $bin_dir and symlinks
|
# Create $bin_dir and symlinks
|
||||||
mkdir -p $bin_dir
|
mkdir -p $bin_dir
|
||||||
ln -sf $dotfiles_dir/bin/mirror-outputs $bin_dir
|
ln -sf $dotfiles_dir/bin/mirror-outputs $bin_dir
|
||||||
ln -sf $dotfiles_dir/bin/single-polybar-launcher $bin_dir
|
ln -sf $dotfiles_dir/bin/single-polybar-launcher $bin_dir
|
||||||
ln -sf $dotfiles_dir/bin/toggle-wifi $bin_dir
|
ln -sf $dotfiles_dir/bin/toggle-wifi $bin_dir
|
||||||
|
ln -sf $dotfiles_dir/bin/tint2-launcher $bin_dir
|
||||||
|
|
||||||
# Finishing up
|
# Finishing up
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue