parent
050d923644
commit
07eb59bf2a
@ -0,0 +1,377 @@ |
||||
/** Global *******************************************/ |
||||
*{ |
||||
all: unset; |
||||
font-family: feather; |
||||
font-family: Iosevka; |
||||
} |
||||
|
||||
/** Background ************************************** |
||||
.bg { |
||||
background-image: url("images/bg.png"); |
||||
background-color: #474D59; |
||||
opacity: 1; |
||||
} */ |
||||
|
||||
/** Generic window ***********************************/ |
||||
.genwin { |
||||
background-color: #15161E; |
||||
border-radius: 16px; |
||||
} |
||||
|
||||
/** Profile ******************************************/ |
||||
.face { |
||||
background-size: 200px; |
||||
min-height: 200px; |
||||
min-width: 200px; |
||||
margin: 65px 0px 0px 0px; |
||||
border-radius: 100%; |
||||
} |
||||
|
||||
.fullname { |
||||
color: #ef596f; |
||||
font-size : 30px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
.username { |
||||
color: #6BB2C0; |
||||
font-size : 22px; |
||||
font-weight : bold; |
||||
margin : -15px 0px 0px 0px; |
||||
} |
||||
|
||||
/** System ********************************************/ |
||||
.iconcpu, .iconmem, .iconbright, .iconbat { |
||||
font-size : 32px; |
||||
font-weight : normal; |
||||
} |
||||
.iconcpu { |
||||
color: #f7768e; |
||||
} |
||||
.iconmem { |
||||
color: #9ece6a; |
||||
} |
||||
.iconbright { |
||||
color: #e0af68; |
||||
} |
||||
.iconbat { |
||||
color: #7aa2f7; |
||||
} |
||||
|
||||
.cpu_bar, .mem_bar, .bright_bar, .bat_bar, scale trough { |
||||
all: unset; |
||||
background-color: #282C34; |
||||
border-radius: 16px; |
||||
min-height: 28px; |
||||
min-width: 240px; |
||||
} |
||||
|
||||
.cpu_bar, .mem_bar, .bright_bar, .bat_bar, scale trough highlight { |
||||
all: unset; |
||||
border-radius: 16px; |
||||
} |
||||
|
||||
.cpu_bar scale trough highlight { |
||||
background-color: #f7768e; |
||||
} |
||||
.mem_bar scale trough highlight { |
||||
background-color: #9ece6a; |
||||
} |
||||
.bright_bar scale trough highlight { |
||||
background-color: #e0af68; |
||||
} |
||||
.bat_bar scale trough highlight { |
||||
background-color: #7aa2f7; |
||||
} |
||||
|
||||
/** Clock ********************************************/ |
||||
.time_hour, .time_min { |
||||
color: #7dcfff; |
||||
font-size : 70px; |
||||
font-weight : bold; |
||||
} |
||||
.time_hour { |
||||
margin : 15px 0px 0px 20px; |
||||
} |
||||
.time_min { |
||||
margin : 0px 0px 10px 0px; |
||||
} |
||||
|
||||
.time_mer { |
||||
color: #9ece6a; |
||||
font-size : 40px; |
||||
font-weight : bold; |
||||
margin : 20px 0px 0px 0px; |
||||
} |
||||
|
||||
.time_day { |
||||
color: #e0af68; |
||||
font-size : 30px; |
||||
font-weight : normal; |
||||
margin : 0px 0px 20px -20px; |
||||
} |
||||
|
||||
/** Uptime ********************************************/ |
||||
.icontimer { |
||||
color: #bb9af7; |
||||
font-size : 90px; |
||||
font-weight : normal; |
||||
} |
||||
|
||||
.uphour { |
||||
color: #c0caf5; |
||||
font-size : 42px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
.upmin { |
||||
color: #c0caf5; |
||||
font-size : 32px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
/** Music ***************************************/ |
||||
.album_art { |
||||
background-size: 240px; |
||||
min-height: 240px; |
||||
min-width: 240px; |
||||
margin: 20px; |
||||
border-radius: 14px; |
||||
} |
||||
|
||||
.song { |
||||
color: #6BB2C0; |
||||
font-size : 24px; |
||||
font-weight : bold; |
||||
margin : 40px 0px 0px 0px; |
||||
} |
||||
|
||||
.artist { |
||||
color: #e0af68; |
||||
font-size : 16px; |
||||
font-weight : normal; |
||||
margin : 0px 0px 15px 0px; |
||||
} |
||||
|
||||
.btn_prev, .btn_play, .btn_next { |
||||
font-family: Iosevka Nerd Font; |
||||
} |
||||
.btn_prev { |
||||
color: #e0af68; |
||||
font-size : 32px; |
||||
font-weight : normal; |
||||
} |
||||
.btn_play { |
||||
color: #9ece6a; |
||||
font-size : 48px; |
||||
font-weight : bold; |
||||
} |
||||
.btn_next { |
||||
color: #e0af68; |
||||
font-size : 32px; |
||||
font-weight : normal; |
||||
} |
||||
|
||||
.music_bar scale trough highlight { |
||||
all: unset; |
||||
background-color: #bb9af7; |
||||
border-radius: 8px; |
||||
} |
||||
.music_bar scale trough { |
||||
all: unset; |
||||
background-color: #282C34; |
||||
border-radius: 8px; |
||||
min-height: 20px; |
||||
min-width: 310px; |
||||
margin : 10px 0px 0px 0px; |
||||
} |
||||
|
||||
/** Weather ***************************************/ |
||||
.iconweather { |
||||
font-family: Iosevka Nerd Font; |
||||
font-size : 120px; |
||||
font-weight : normal; |
||||
margin : 15px 0px 0px 30px; |
||||
} |
||||
|
||||
.label_temp { |
||||
color : #7dcfff; |
||||
font-size : 80px; |
||||
font-weight : bold; |
||||
margin : -15px 30px 0px 0px; |
||||
} |
||||
|
||||
.label_stat { |
||||
color : #f7768e; |
||||
font-size : 38px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
.label_quote { |
||||
color : #a9b1d6; |
||||
font-size : 18px; |
||||
font-weight : normal; |
||||
} |
||||
|
||||
/** Applications ***************************************/ |
||||
.appbox { |
||||
margin : 15px 0px 0px 25px; |
||||
} |
||||
|
||||
.app_fox, .app_telegram, .app_discord, .app_terminal, |
||||
.app_files, .app_geany, .app_code, .app_gimp, .app_vbox { |
||||
background-repeat: no-repeat; |
||||
background-size: 64px; |
||||
min-height: 64px; |
||||
min-width: 64px; |
||||
margin: 8px 8px 0px 8px; |
||||
} |
||||
|
||||
.app_fox {} |
||||
.app_telegram {} |
||||
.app_discord {} |
||||
.app_terminal {} |
||||
.app_files {} |
||||
.app_geany {} |
||||
.app_code {} |
||||
.app_gimp {} |
||||
.app_vbox {} |
||||
|
||||
/** Links ***************************************/ |
||||
.iconweb, .iconmail { |
||||
color: #FFFFFF; |
||||
font-family: Iosevka Nerd Font; |
||||
font-size : 70px; |
||||
font-weight : normal; |
||||
} |
||||
.iconmail { |
||||
color: #DF584E; |
||||
} |
||||
|
||||
.github { |
||||
background-color: #24292E; |
||||
border-radius: 16px; |
||||
} |
||||
.reddit { |
||||
background-color: #E46231; |
||||
border-radius: 16px; |
||||
} |
||||
.twitter { |
||||
background-color: #61AAD6; |
||||
border-radius: 16px; |
||||
} |
||||
.youtube { |
||||
background-color: #DF584E; |
||||
border-radius: 16px; |
||||
} |
||||
.mail { |
||||
background-color: #FFFFFF; |
||||
border-radius: 16px; |
||||
} |
||||
|
||||
.mailbox { |
||||
background-color: #E5E5E5; |
||||
border-radius: 10px; |
||||
margin: 48px 0px 48px 0px; |
||||
} |
||||
.label_mails { |
||||
color: #404040; |
||||
font-size : 32px; |
||||
font-weight : bold; |
||||
margin: 0px 12px 0px 12px; |
||||
} |
||||
|
||||
/** Power buttons ***************************************/ |
||||
.btn_logout, .btn_sleep, .btn_reboot, .btn_poweroff { |
||||
font-size : 48px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
.btn_logout { |
||||
color: #f7768e; |
||||
} |
||||
.btn_sleep { |
||||
color: #9ece6a; |
||||
} |
||||
.btn_reboot { |
||||
color: #e0af68; |
||||
} |
||||
.btn_poweroff { |
||||
color: #7aa2f7; |
||||
} |
||||
|
||||
/** Home folders ***************************************/ |
||||
.hddbox { |
||||
background-color: #282C34; |
||||
border-radius: 10px; |
||||
margin : 15px; |
||||
} |
||||
.hddicon { |
||||
color: #7dcfff; |
||||
font-family: Iosevka Nerd Font; |
||||
font-size : 70px; |
||||
font-weight : normal; |
||||
margin : 25px 20px 25px 40px; |
||||
} |
||||
.hdd_label { |
||||
color: #c0caf5; |
||||
font-size : 48px; |
||||
font-weight : bold; |
||||
margin : 0px 0px 0px 15px; |
||||
} |
||||
.fs_sep { |
||||
color: #15161E; |
||||
font-size : 36px; |
||||
font-weight : bold; |
||||
} |
||||
|
||||
.iconfolder1, .iconfolder2, .iconfolder3, .iconfolder4, .iconfolder5, .iconfolder6 { |
||||
font-family: Iosevka Nerd Font; |
||||
font-size : 32px; |
||||
font-weight : normal; |
||||
margin : 0px 0px 0px 75px; |
||||
} |
||||
.iconfolder1 { |
||||
color: #f7768e; |
||||
} |
||||
.iconfolder2 { |
||||
color: #9ece6a; |
||||
} |
||||
.iconfolder3 { |
||||
color: #e0af68; |
||||
} |
||||
.iconfolder4 { |
||||
color: #7dcfff; |
||||
} |
||||
.iconfolder5 { |
||||
color: #bb9af7; |
||||
} |
||||
.iconfolder6 { |
||||
color: #7aa2f7; |
||||
} |
||||
|
||||
.label_folder1, .label_folder2, .label_folder3, .label_folder4, .label_folder5, .label_folder6 { |
||||
font-size : 22px; |
||||
font-weight : normal; |
||||
margin : 0px 0px 0px 30px; |
||||
} |
||||
.label_folder1 { |
||||
color: #f7768e; |
||||
} |
||||
.label_folder2 { |
||||
color: #9ece6a; |
||||
} |
||||
.label_folder3 { |
||||
color: #e0af68; |
||||
} |
||||
.label_folder4 { |
||||
color: #7dcfff; |
||||
} |
||||
.label_folder5 { |
||||
color: #bb9af7; |
||||
} |
||||
.label_folder6 { |
||||
color: #7aa2f7; |
||||
} |
||||
|
||||
/** EOF *************************************************/} |
||||
@ -0,0 +1,61 @@ |
||||
|
||||
(defpoll calendar_day :interval "20h" "date '+%d'") |
||||
(defpoll calendar_year :interval "20h" "date '+%Y'") |
||||
(defpoll HOUR :interval "5s" `date +\"%I\"`) |
||||
(defpoll MIN :interval "5s" `date +\"%M\"`) |
||||
(defpoll MER :interval "5s" `date +\"%p\"`) |
||||
(defpoll DAY :interval "5s" `date +\"%A\"`) |
||||
|
||||
|
||||
|
||||
(defwindow example |
||||
:monitor 0 |
||||
:geometry (geometry :width "100%" |
||||
:anchor "top left") |
||||
(cal) |
||||
) |
||||
|
||||
(defwidget cal [] |
||||
(box :class "cal" :orientation "v" |
||||
(box :class "cal-in" |
||||
(calendar :class "cal" |
||||
:day calendar_day |
||||
:year calendar_year)))) |
||||
|
||||
(defwindow quote |
||||
:wm-ignore true |
||||
:monitor 0 |
||||
:windowtype "dock" |
||||
:geometry (geometry :x "200px" |
||||
:y "65px" |
||||
:width "170px" |
||||
:height "200px" |
||||
:anchor "top left") |
||||
(clock)) |
||||
|
||||
|
||||
;(defwindow searchapps |
||||
; :wm-ignore: true |
||||
; :monitor 0 |
||||
; :windowtype "normal" |
||||
; :geometry (geometry :x "40%" |
||||
; :y "30%" |
||||
; :width "20%" |
||||
; :height "50%" |
||||
; :anchor "top left") |
||||
;(searchapps)) |
||||
|
||||
(defpoll quote_text :interval "3600s" `curl ifconfig.me`) |
||||
|
||||
(defwidget clock [] |
||||
(box :class "genwin" :orientation "h" :spacing 50 :space-evenly false :vexpand "false" :hexpand "false" |
||||
(box :orientation "h" :spacing 0 |
||||
(label :class "time_hour" :valign "start" :wrap "true" :limit-width 25 :text HOUR) |
||||
(label :class "time_min" :valign "end" :wrap "true" :limit-width 25 :text MIN)) |
||||
(box :orientation "v" :spacing 0 |
||||
(label :class "time_mer" :valign "start" :halign "end" :wrap "true" :limit-width 25 :text MER) |
||||
(label :class "time_day" :valign "end" :halign "end" :wrap "true" :limit-width 25 :text DAY)))) |
||||
|
||||
(defwidget quote[] |
||||
(box :class "quote" :orientation "v" :space-evenly false :halign "center" :valign "center" |
||||
(label :class "quote-text" :text "${quote_text}" :wrap true))) |
||||
@ -0,0 +1,7 @@ |
||||
background-color=#4A4A4A |
||||
border-size=0 |
||||
font=Mononoki Nerd Font 14 |
||||
default-timeout=10000 |
||||
max-visible=3 |
||||
layer=overlay |
||||
border-radius=5 |
||||
@ -0,0 +1,4 @@ |
||||
#!/bin/bash |
||||
|
||||
trap "killall -q mako" EXIT |
||||
mako |
||||
@ -0,0 +1 @@ |
||||
Subproject commit c8239a45edced3502894e1716a8b661fdea8f1c9 |
||||
@ -0,0 +1,9 @@ |
||||
#!/bin/bash |
||||
# randomly selects a wallpaper from wallpapers directory |
||||
|
||||
dir="$HOME/.wallpapers" |
||||
wallpapers=("$dir"/*) |
||||
idx=$(( RANDOM % ${#wallpapers[@]})) |
||||
selected="${wallpapers[$idx]}" |
||||
|
||||
awww img "$selected" |
||||
@ -0,0 +1,202 @@ |
||||
include /etc/sway/config.d/* |
||||
output * allow_tearing yes |
||||
output * max_render_time off |
||||
|
||||
xwayland enable |
||||
|
||||
set $mod Mod4 |
||||
# Font for window titles. Will also be used by the bar unless a different font |
||||
# is used in the bar {} block below. |
||||
font pango:Noto Sans Nerd Font 12 |
||||
|
||||
# Use pactl to adjust volume in PulseAudio. |
||||
#set $refresh_i3status killall -SIGUSR1 i3status |
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% |
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% |
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle |
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle |
||||
# Use Mouse+$mod to drag floating windows to their wanted position |
||||
floating_modifier $mod |
||||
|
||||
# start a terminal |
||||
bindsym $mod+Return exec alacritty |
||||
|
||||
# kill focused window |
||||
bindsym $mod+Shift+q kill |
||||
|
||||
# custom bindings |
||||
# start dmenu (a program launcher) |
||||
bindsym $mod+d exec --no-startup-id "rofi -combi-modi window,drun -show combi -modi combi -show-icons" |
||||
# bindsym $mod+d exec vicinae toggle; exec swaymsg |
||||
bindsym $mod+p exec bwmenu |
||||
bindsym --release Print exec --no-startup-id ~/.config/scripts/grimshot copy area |
||||
bindsym $mod+Print exec --no-startup-id ~/.config/scripts/grimshot save area |
||||
|
||||
bindsym $mod+x [urgent=latest] focus |
||||
bindsym $mod+c exec "rofi -show calc -modi calc -no-show-match -no-sort" |
||||
# Make the currently focused window a scratchpad |
||||
bindsym $mod+Shift+minus move scratchpad |
||||
|
||||
# Show the first scratchpad window |
||||
bindsym $mod+minus scratchpad show |
||||
|
||||
# change focus |
||||
bindsym $mod+j focus left |
||||
bindsym $mod+k focus down |
||||
bindsym $mod+l focus up |
||||
bindsym $mod+semicolon focus right |
||||
|
||||
# alternatively, you can use the cursor keys: |
||||
bindsym $mod+Left focus left |
||||
bindsym $mod+Down focus down |
||||
bindsym $mod+Up focus up |
||||
bindsym $mod+Right focus right |
||||
|
||||
# move focused window |
||||
bindsym $mod+Shift+j move left |
||||
bindsym $mod+Shift+k move down |
||||
bindsym $mod+Shift+l move up |
||||
bindsym $mod+Shift+semicolon move right |
||||
|
||||
# alternatively, you can use the cursor keys: |
||||
bindsym $mod+Shift+Left move left |
||||
bindsym $mod+Shift+Down move down |
||||
bindsym $mod+Shift+Up move up |
||||
bindsym $mod+Shift+Right move right |
||||
bindsym $mod+Shift+n exec swaync-client -t -sw |
||||
|
||||
# split in horizontal orientation |
||||
bindsym $mod+h split h |
||||
|
||||
# split in vertical orientation |
||||
bindsym $mod+v split v |
||||
|
||||
# enter fullscreen mode for the focused container |
||||
bindsym $mod+f fullscreen toggle |
||||
|
||||
# change container layout (stacked, tabbed, toggle split) |
||||
bindsym $mod+s layout stacking |
||||
bindsym $mod+w layout tabbed |
||||
bindsym $mod+e layout toggle split |
||||
|
||||
bindsym $mod+Home exec swaylock --screenshots --effect-pixelate 10 --clock |
||||
|
||||
# toggle tiling / floating |
||||
bindsym $mod+Shift+space floating toggle |
||||
|
||||
# change focus between tiling / floating windows |
||||
bindsym $mod+space focus mode_toggle |
||||
|
||||
# focus the parent container |
||||
bindsym $mod+a focus parent |
||||
|
||||
# focus the child container |
||||
#bindsym $mod+d focus child |
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on. |
||||
# We use variables to avoid repeating the names in multiple places. |
||||
set $ws1 "1" |
||||
set $ws2 "2" |
||||
set $ws3 "3" |
||||
set $ws4 "4" |
||||
set $ws5 "5" |
||||
set $ws6 "6" |
||||
set $ws7 "7" |
||||
set $ws8 "8" |
||||
set $ws9 "9" |
||||
set $ws10 "10" |
||||
|
||||
# switch to workspace |
||||
bindsym $mod+1 workspace number $ws1 |
||||
bindsym $mod+2 workspace number $ws2 |
||||
bindsym $mod+3 workspace number $ws3 |
||||
bindsym $mod+4 workspace number $ws4 |
||||
bindsym $mod+5 workspace number $ws5 |
||||
bindsym $mod+6 workspace number $ws6 |
||||
bindsym $mod+7 workspace number $ws7 |
||||
bindsym $mod+8 workspace number $ws8 |
||||
bindsym $mod+9 workspace number $ws9 |
||||
bindsym $mod+0 workspace number $ws10 |
||||
|
||||
# move focused container to workspace |
||||
bindsym $mod+Shift+1 move container to workspace number $ws1 |
||||
bindsym $mod+Shift+2 move container to workspace number $ws2 |
||||
bindsym $mod+Shift+3 move container to workspace number $ws3 |
||||
bindsym $mod+Shift+4 move container to workspace number $ws4 |
||||
bindsym $mod+Shift+5 move container to workspace number $ws5 |
||||
bindsym $mod+Shift+6 move container to workspace number $ws6 |
||||
bindsym $mod+Shift+7 move container to workspace number $ws7 |
||||
bindsym $mod+Shift+8 move container to workspace number $ws8 |
||||
bindsym $mod+Shift+9 move container to workspace number $ws9 |
||||
bindsym $mod+Shift+0 move container to workspace number $ws10 |
||||
|
||||
bindsym $mod+Shift+r sway reload |
||||
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" |
||||
|
||||
# resize window (you can also use the mouse for that) |
||||
mode "resize" { |
||||
# These bindings trigger as soon as you enter the resize mode |
||||
|
||||
# Pressing left will shrink the window’s width. |
||||
# Pressing right will grow the window’s width. |
||||
# Pressing up will shrink the window’s height. |
||||
# Pressing down will grow the window’s height. |
||||
bindsym j resize shrink width 10 px or 10 ppt |
||||
bindsym k resize grow height 10 px or 10 ppt |
||||
bindsym l resize shrink height 10 px or 10 ppt |
||||
bindsym semicolon resize grow width 10 px or 10 ppt |
||||
|
||||
# same bindings, but for the arrow keys |
||||
bindsym Left resize shrink width 10 px or 10 ppt |
||||
bindsym Down resize grow height 10 px or 10 ppt |
||||
bindsym Up resize shrink height 10 px or 10 ppt |
||||
bindsym Right resize grow width 10 px or 10 ppt |
||||
|
||||
# back to normal: Enter or Escape or $mod+r |
||||
bindsym Return mode "default" |
||||
bindsym Escape mode "default" |
||||
bindsym $mod+r mode "default" |
||||
} |
||||
|
||||
bindsym $mod+r mode "resize" |
||||
|
||||
focus_follows_mouse no |
||||
|
||||
# default colors |
||||
# border background text indicator child border |
||||
client.focused #EA4335 #285577 #ffffff #2e9ef4 #285577 |
||||
client.focused_inactive #333333 #222222 #888888 #292d2e #222222 |
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222 |
||||
|
||||
title_align center |
||||
for_window [class="^.*"] border pixel 1 |
||||
for_window [window_role="pop-up"] floating enable |
||||
for_window [window_role="bubble"] floating enable |
||||
for_window [window_role="task_dialog"] floating enable |
||||
for_window [window_role="Preferences"] floating enable |
||||
for_window [window_type="dialog"] floating enable |
||||
for_window [window_type="menu"] floating enable |
||||
for_window [shell="xwayland"] title_format "[XWayland] %title" |
||||
|
||||
default_floating_border none |
||||
hide_edge_borders none |
||||
gaps inner 0 |
||||
gaps outer 0 |
||||
|
||||
# seat seat0 xcursor_theme my_cursor_theme my_cursor_size |
||||
|
||||
# copying |
||||
exec_always --no-startup-id ~/.config/sway/import_gsettings.sh |
||||
|
||||
set $clipboard cliphist list | rofi | cliphist decode | wl-copy |
||||
exec --no-startup-id kanshi |
||||
exec --no-startup-id ~/.config/waybar/launch.sh |
||||
|
||||
exec --no-startup-id wl-paste --watch cliphist store |
||||
exec --no-startup-id awww-daemon --no-cache |
||||
exec --no-startup-id udiskie --tray |
||||
|
||||
exec --no-startup-id swaync |
||||
|
||||
# set a random wallpaper on reload |
||||
exec_always --no-startup-id ~/.config/sway/set_wallpaper.sh |
||||
@ -0,0 +1,15 @@ |
||||
#!/bin/sh |
||||
|
||||
# usage: import-gsettings |
||||
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini" |
||||
if [ ! -f "$config" ]; then exit 1; fi |
||||
|
||||
gnome_schema="org.gnome.desktop.interface" |
||||
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')" |
||||
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')" |
||||
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')" |
||||
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')" |
||||
gsettings set "$gnome_schema" gtk-theme "$gtk_theme" |
||||
gsettings set "$gnome_schema" icon-theme "$icon_theme" |
||||
gsettings set "$gnome_schema" cursor-theme "$cursor_theme" |
||||
gsettings set "$gnome_schema" font-name "$font_name" |
||||
@ -0,0 +1,8 @@ |
||||
#!/bin/bash |
||||
|
||||
dir="$HOME/.wallpapers" |
||||
wallpapers=("$dir"/*) |
||||
idx=$(( RANDOM % ${#wallpapers[@]})) |
||||
selected="${wallpapers[$idx]}" |
||||
|
||||
awww img "$selected" |
||||
@ -0,0 +1 @@ |
||||
Subproject commit 2d6e5a9dfba137251547f99befc330ef93d70551 |
||||
@ -0,0 +1,11 @@ |
||||
#!/bin/bash |
||||
|
||||
CONFIG_FILES="$HOME/.config/waybar/config $HOME/.config/waybar/style.css" |
||||
|
||||
trap "killall waybar" EXIT |
||||
|
||||
while true; do |
||||
waybar & |
||||
inotifywait -e create,modify $CONFIG_FILES |
||||
killall waybar |
||||
done |
||||
@ -0,0 +1,57 @@ |
||||
@define-color foreground #eff0f1; |
||||
@define-color foreground-inactive #7f8c8d; |
||||
@define-color background #161616; |
||||
@define-color background-alt #31363b; |
||||
|
||||
* { |
||||
font-family: "NotoSans Nerd Font"; |
||||
font-size: 16px; |
||||
} |
||||
window#waybar { |
||||
background-image: linear-gradient(to right, |
||||
#161616 0%, |
||||
#31363b 51%, |
||||
#161616 100%); |
||||
|
||||
color: #ffffff; |
||||
transition-property: background-color; |
||||
transition-duration: .5s; |
||||
} |
||||
#waybar { |
||||
background-color: @background; |
||||
color: @foreground; |
||||
} |
||||
|
||||
#workspaces button { |
||||
padding-left: 1em; |
||||
padding-right: 1.3em; |
||||
color: @foreground-inactive; |
||||
} |
||||
|
||||
#workspaces button.focused { |
||||
background-color: @background-alt; |
||||
color: @foreground; |
||||
border-radius: 1px; |
||||
} |
||||
|
||||
#taskbar { |
||||
color: @foreground; |
||||
} |
||||
|
||||
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #mode, #custom-poweroff { |
||||
padding-left: 0.25em; |
||||
padding-right: 0.25em; |
||||
} |
||||
|
||||
#window { |
||||
padding-left: 0.25em; |
||||
padding-right: 0.5em; |
||||
} |
||||
|
||||
#custom-poweroff { |
||||
padding-left: 0; |
||||
font-size: 22; |
||||
} |
||||
#custom-poweroff:hover { |
||||
color: red; |
||||
} |
||||
Loading…
Reference in new issue