-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
558 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
include $HOME/.config/i3/theme | ||
include $HOME/.config/i3/workspaces | ||
|
||
set $mod Mod4 | ||
set $primary DP-2 | ||
set $secondary DP-0 | ||
|
||
# font pango:monospace 12 | ||
font pango:JetBrains Mono 12 | ||
|
||
exec --no-startup-id dex --autostart --environment i3 | ||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork | ||
exec --no-startup-id nm-applet | ||
exec --no-startup-id sxhkd | ||
exec --no-startup-id compton | ||
exec --no-startup-id ~/.dot/.local/bin/scripts/audio-setup | ||
|
||
# Autostart applications | ||
exec --no-startup-id flatpak run dev.vencord.Vesktop | ||
exec --no-startup-id flatpak run org.telegram.desktop | ||
|
||
floating_modifier $mod | ||
|
||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop | ||
|
||
for_window [class="^.*"] border pixel 2 | ||
for_window [class="^.*"] client.focused | ||
|
||
# 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" | ||
} | ||
|
||
# bar { | ||
# # status_command i3status | ||
# status_command SCRIPTS_DIR=~/.config/i3blocks/scripts i3blocks | ||
# tray_output DP-2 | ||
# tray_padding 5 | ||
# separator_symbol "|" | ||
# } | ||
|
||
exec --no-startup-id $HOME/.config/polybar/launch.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#sonokai | ||
# class border backgr. text indicator child_border | ||
client.focused #f3a96a #f3a96a #1a1826 #f3a96a #f3a96a | ||
client.focused_inactive #82878b #82878b #ffffff #82878b #82878b | ||
client.unfocused #333333 #222222 #888888 #292d2e #222222 | ||
client.urgent #cc241d #900000 #ffffff #cc241d #cc241d | ||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c | ||
|
||
client.background #ffffff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
set $ws0 "0" | ||
set $ws1 "1: >_" | ||
set $ws2 "2: Web" | ||
set $ws3 "3: Dev" | ||
set $ws4 "4: Comms" | ||
set $ws5 "5" | ||
set $ws6 "6" | ||
set $ws7 "7" | ||
set $ws8 "8" | ||
set $ws9 "9" | ||
set $ws10 "10" | ||
set $ws11 "11" | ||
set $ws12 "12" | ||
|
||
workspace $ws1 output $primary | ||
workspace $ws2 output $secondary | ||
workspace $ws3 output $secondary | ||
workspace $ws4 output $secondary | ||
workspace $ws9 output $primary | ||
workspace $ws10 output $secondary | ||
|
||
assign [class="Alacritty|gnome-terminal-server"] $ws1 | ||
assign [class="chromium-browser|LibreWolf"] $ws2 | ||
assign [class="docker desktop"] $ws3 | ||
assign [class="vesktop|discord|telegram-desktop"] $ws4 | ||
assign [class="steam"] $ws9 | ||
assign [class="REAPER|pavucontrol"] $ws10 | ||
|
||
for_window [class="vol|ttrm|mus|fm|news"] floating enable, resize set 1000 600, move scratchpad, border pixel 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
[colors] | ||
background = #282A2E | ||
background-alt = #373B41 | ||
foreground = #C5C8C6 | ||
primary = #F0C674 | ||
secondary = #8ABEB7 | ||
alert = #A54242 | ||
disabled = #707880 | ||
|
||
[bar/main] | ||
monitor = DP-2 | ||
width = 100% | ||
height = 22pt | ||
radius = 0 | ||
bottom = true | ||
|
||
background = ${colors.background} | ||
foreground = ${colors.foreground} | ||
|
||
line-size = 3pt | ||
|
||
; border-size = 4pt | ||
border-size = 0 | ||
border-color = #00000000 | ||
|
||
padding-left = 0 | ||
padding-right = 1 | ||
|
||
module-margin = 1 | ||
|
||
separator = | | ||
separator-foreground = ${colors.disabled} | ||
|
||
font-0 = JetBrains Mono;2 | ||
|
||
modules-left = xworkspaces xwindow | ||
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan date systray | ||
|
||
cursor-click = pointer | ||
cursor-scroll = ns-resize | ||
|
||
enable-ipc = true | ||
|
||
tray-detached = false | ||
tray-offset-x = 0 | ||
tray-offset-y = 0 | ||
tray-padding = 2 | ||
tray-maxsize = 20 | ||
tray-scale = 1.0 | ||
tray-position = none | ||
tray-background = ${colors.background} | ||
|
||
[bar/secondary] | ||
monitor = DP-0 | ||
monitor-strict = false | ||
width = 100% | ||
height = 22pt | ||
radius = 0 | ||
bottom = true | ||
|
||
background = ${colors.background} | ||
foreground = ${colors.foreground} | ||
|
||
line-size = 3pt | ||
|
||
; border-size = 4pt | ||
border-size = 0 | ||
border-color = #00000000 | ||
|
||
padding-left = 0 | ||
padding-right = 1 | ||
|
||
module-margin = 1 | ||
|
||
separator = | | ||
separator-foreground = ${colors.disabled} | ||
|
||
font-0 = JetBrains Mono;2 | ||
|
||
modules-left = xworkspaces xwindow | ||
modules-right = date | ||
|
||
cursor-click = pointer | ||
cursor-scroll = ns-resize | ||
|
||
enable-ipc = true | ||
|
||
[module/systray] | ||
type = internal/tray | ||
|
||
format-margin = 8pt | ||
tray-spacing = 16pt | ||
|
||
[module/xworkspaces] | ||
type = internal/xworkspaces | ||
pin-workspaces = true | ||
|
||
label-active = %name% | ||
label-active-background = ${colors.background-alt} | ||
label-active-underline= ${colors.primary} | ||
label-active-padding = 1 | ||
|
||
label-occupied = %name% | ||
label-occupied-padding = 1 | ||
|
||
label-urgent = %name% | ||
label-urgent-background = ${colors.alert} | ||
label-urgent-padding = 1 | ||
|
||
label-empty = %name% | ||
label-empty-foreground = ${colors.disabled} | ||
label-empty-padding = 1 | ||
|
||
[module/xwindow] | ||
type = internal/xwindow | ||
label = %title:0:60:...% | ||
|
||
[module/filesystem] | ||
type = internal/fs | ||
interval = 25 | ||
|
||
mount-0 = / | ||
|
||
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% | ||
|
||
label-unmounted = %mountpoint% not mounted | ||
label-unmounted-foreground = ${colors.disabled} | ||
|
||
[module/pulseaudio] | ||
type = internal/pulseaudio | ||
|
||
format-volume-prefix = "VOL " | ||
format-volume-prefix-foreground = ${colors.primary} | ||
format-volume = <label-volume> | ||
|
||
label-volume = %percentage%% | ||
|
||
label-muted = muted | ||
label-muted-foreground = ${colors.disabled} | ||
click-right = pavucontrol | ||
|
||
[module/xkeyboard] | ||
type = internal/xkeyboard | ||
blacklist-0 = num lock | ||
|
||
label-layout = %layout% | ||
label-layout-foreground = ${colors.primary} | ||
|
||
label-indicator-padding = 2 | ||
label-indicator-margin = 1 | ||
label-indicator-foreground = ${colors.background} | ||
label-indicator-background = ${colors.secondary} | ||
|
||
[module/memory] | ||
type = internal/memory | ||
interval = 2 | ||
format-prefix = "RAM " | ||
format-prefix-foreground = ${colors.primary} | ||
label = %percentage_used:2%% | ||
|
||
[module/cpu] | ||
type = internal/cpu | ||
interval = 2 | ||
format-prefix = "CPU " | ||
format-prefix-foreground = ${colors.primary} | ||
label = %percentage:2%% | ||
|
||
[network-base] | ||
type = internal/network | ||
interval = 5 | ||
format-connected = <label-connected> | ||
format-disconnected = <label-disconnected> | ||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected | ||
|
||
[module/wlan] | ||
inherit = network-base | ||
interface-type = wireless | ||
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% | ||
|
||
[module/eth] | ||
inherit = network-base | ||
interface-type = wired | ||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% | ||
|
||
[module/date] | ||
type = internal/date | ||
interval = 1 | ||
|
||
date = %H:%M | ||
date-alt = %Y-%m-%d %H:%M:%S | ||
|
||
label = %date% | ||
label-foreground = ${colors.primary} | ||
|
||
[settings] | ||
screenchange-reload = true | ||
pseudo-transparency = true | ||
|
||
; vim:ft=dosini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Terminate already running bar instances | ||
# If all your bars have ipc enabled, you can use | ||
polybar-msg cmd quit | ||
# Otherwise you can use the nuclear option: | ||
# killall -q polybar | ||
|
||
# Launch bar1 and bar2 | ||
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log | ||
polybar -c ~/.config/polybar/config.ini main 2>&1 | tee -a /tmp/polybar1.log & disown | ||
polybar -c ~/.config/polybar/config.ini secondary 2>&1 | tee -a /tmp/polybar1.log & disown | ||
# polybar -c ~/.config/polybar/config.ini example 2>&1 | tee -a /tmp/polybar1.log & disown | ||
# polybar -c ~/.config/polybar/config.ini mainbar-i3 2>&1 | tee -a /tmp/polybar1.log & disown | ||
|
||
echo "Bars launched..." |
Submodule polybar
added at
11b522
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[colors] | ||
background = #1F1F28 | ||
foreground = #DCD7BA | ||
alert = #C34043 | ||
|
||
darkred = #e82424 | ||
red = #c34043 | ||
darkgreen = #76946A | ||
green = #98BB6C | ||
darkyellow = #FF9E3B | ||
yellow = #DCA561 | ||
darkblue = #658594 | ||
blue = #7FB4CA | ||
darkpurple = #957FB8 | ||
purple = #938AA9 | ||
darkaqua = #6A9589 | ||
aqua = #7AA89F | ||
gray = #717C7C | ||
darkbg = #16161D | ||
lightbg = #363646 | ||
lightbg2 = #54546D | ||
darkorange = #d65d0e | ||
orange = #FF9E3B | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
configuration { | ||
display-drun: "Applications:"; | ||
display-window: "Windows:"; | ||
drun-display-format: "{icon} {name}"; | ||
font: "JetBrains Mono 20"; | ||
modi: "window,run,drun"; | ||
show-icons: true; | ||
icon-theme: "Papirus"; | ||
} | ||
|
||
@theme "/home/oasido/.config/rofi/themes/spotlight.rasi" |
Oops, something went wrong.