aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrodokk <brodokk@brodokk.space>2022-12-26 15:13:31 +0100
committerbrodokk <brodokk@brodokk.space>2022-12-26 15:13:31 +0100
commitec4647bf847c56b9b47ba313ab12499e939c961c (patch)
tree32d9ab1a07bce5f20de7bd511bced0cf7a075d44
parentee20baebc7690bd18a89694f1568542e6e318bdb (diff)
downloaddotfiles-ec4647bf847c56b9b47ba313ab12499e939c961c.tar.xz
dotfiles-ec4647bf847c56b9b47ba313ab12499e939c961c.zip
Update config
Diffstat (limited to '')
-rw-r--r--config.yaml4
-rw-r--r--dotfiles/config/i3/config67
-rw-r--r--dotfiles/config/networkmanager-dmenu/config.ini31
-rw-r--r--dotfiles/config/rofi/config.rasi51
-rw-r--r--dotfiles/gnupg/gpg-agent.conf2
-rwxr-xr-xdotfiles/scripts/my-pinentry2
-rwxr-xr-xinstall.sh4
7 files changed, 134 insertions, 27 deletions
diff --git a/config.yaml b/config.yaml
index 0308539..b0cf9b0 100644
--- a/config.yaml
+++ b/config.yaml
@@ -101,6 +101,9 @@ dotfiles:
d_ranger:
src: config/ranger
dst: ~/.config/ranger
+ d_networkmanager_dmenu:
+ src: config/networkmanager-dmenu
+ dst: ~/.config/networkmanager-dmenu
profiles:
fenec:
dotfiles:
@@ -167,3 +170,4 @@ profiles:
- d_zsh
- d_zathura
- d_ranger
+ - d_networkmanager_dmenu
diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config
index 3fc63e3..b9d6603 100644
--- a/dotfiles/config/i3/config
+++ b/dotfiles/config/i3/config
@@ -38,10 +38,34 @@ for_window [class="^.*"] border pixel 1
focus_follows_mouse no
### Gaps ###
-#set $default_gaps_inner 12
-#set $default_gaps_outer 0
-#gaps inner $default_gaps_inner
-#gaps outer $default_gaps_outer
+
+default_border pixel 0
+
+gaps inner 10
+gaps outer 0
+
+#gaps inner all set 20
+#gaps outer current plus 5
+#gaps horizontal current plus 40
+#gaps outer current toggle 60
+
+# Only enable gaps on a workspace when there is at least one container
+#smart_gaps on
+
+# Only enable outer gaps when there is exactly one container
+#smart_gaps inverse_outer
+
+# Activate smart borders (always)
+#smart_borders on
+
+# Activate smart borders (only when there are effectively no gaps)
+#smart_borders no_gaps
+
+# Activate smart borders (always)
+#smart_borders on
+
+# Activate smart borders (only when there are effectively no gaps)
+#smart_borders no_gaps
set $ws1 I
set $ws2 II
@@ -124,6 +148,7 @@ bindsym $WinKey+Shift+F8 exec $TERMINAL -e qutebrowser
#bindsym $WinKey+Shift+v move morkspace to output right
bindsym $WinKey+control+l exec i3lock-fancy-rapid 1 pixel
bindsym $WinKey+p exec ~/.scripts/launch_rofi-pass.sh
+bindsym $WinKey+w exec networkmanager_dmenu
#bindsym $WinKey+Shift+$AltKey+0 exec ~/.scripts/switch-workspace.py 6
bindsym XF86AudioPlay exec ~/.scripts/switch_audio.sh 8
bindsym $WinKey+g exec ~/.scripts/cycle-workspace.py
@@ -140,7 +165,6 @@ bindsym $WinKey+Return exec $TERMINAL
bindsym $WinKey+Shift+A kill
# start dmenu (a program launcher)
-#bindsym $WinKey+d exec rofi -show run
#bindsym $WinKey+d exec rofi -run-list-command ". ~/.scripts/zsh_aliases_functions.sh" -run-command "/bin/zsh -i -c '{cmd}'" -show run
bindsym $WinKey+d exec rofi -show run
# There also is the (new) i3-dmenu-desktop which only displays applications
@@ -200,17 +224,16 @@ bindsym $WinKey+q focus parent
# Set ~6 workspace par screen (20)
-{%@@ if profile=="screeeeeee" @@%}
-workspace 1 output DisplayPort-1
-workspace 2 output DisplayPort-1
-workspace 3 output DisplayPort-1
-workspace 4 output DisplayPort-1
-workspace 5 output DisplayPort-1
-workspace 6 output DisplayPort-1
-workspace 7 output DisplayPort-1
-workspace 8 output DisplayPort-1
-workspace 9 output DisplayPort-1
-workspace 10 output DisplayPort-1
+workspace 1 output DisplayPort-2
+workspace 2 output DisplayPort-2
+workspace 3 output DisplayPort-2
+workspace 4 output DisplayPort-2
+workspace 5 output DisplayPort-2
+workspace 6 output DisplayPort-2
+workspace 7 output DisplayPort-2
+workspace 8 output DisplayPort-2
+workspace 9 output DisplayPort-2
+workspace 10 output DisplayPort-2
workspace 11 output HDMI-A-0
workspace 12 output HDMI-A-0
@@ -233,7 +256,6 @@ workspace 27 output DisplayPort-1
workspace 28 output DisplayPort-1
workspace 29 output DisplayPort-1
workspace 30 output DisplayPort-1
-{%@@ endif @@%}
# move focused window between monitors
bindsym $WinKey+Control+Shift+greater move workspace to output right
@@ -412,6 +434,7 @@ bindsym $WinKey+r mode "resize"
# finds out, if available)
bar {
#status_command i3blocks
+ height 25
colors {
background $BLACK
statusline $WHITE
@@ -420,19 +443,15 @@ bar {
focused_workspace $WHITE $BLACK $WHITE
urgent_worKspace $WHITE $WHITE $BLACK
}
- {%@@ if profile=="screeeeeee" @@%}
font pango:Monoid Nerd Font Light Semi-Condensed 7.5
- {%@@ else @@%}
- font pango:Monoid Semi-Condensed 8
- {%@@ endif @@%}
status_command python ~/.config/i3pystatus/conf.py
}
-exec /home/neodarz/.screenlayout/default.sh
-exec setxkbmap fr
+exec ~/.screenlayout/screeeeeee.sh
+exec setxkbmap us
exec export XDG_RUNTIME_DIR=/run/user/`id -u`
exec systemctl --user start twmnd.service
# Background image by https://www.furaffinity.net/view/22943365/
-exec feh --bg-scale ~/.wallpapers/eron_paint_1080.jpg; picom --unredir-if-possible
+exec feh --bg-scale ~/.Wallpapers/zorryn-3d-artist-zorryn-cyber-city-02-4k.jpg; picom --unredir-if-possible
#exec /home/neodarz/wallpaper_animated/wall.sh /home/neodarz/wallpaper_animated/8bit_battle_preparation.gif
#exec terminator -e $HOME/.scripts/working.sh
#exec ~/.scripts/mpvbg ~/.wallpapers/wallpaper_01.mp4
diff --git a/dotfiles/config/networkmanager-dmenu/config.ini b/dotfiles/config/networkmanager-dmenu/config.ini
new file mode 100644
index 0000000..d540bd3
--- /dev/null
+++ b/dotfiles/config/networkmanager-dmenu/config.ini
@@ -0,0 +1,31 @@
+[dmenu]
+# dmenu_command = /usr/bin/dmenu
+# # Note that dmenu_command can contain arguments as well like:
+# # `dmenu_command = rofi -dmenu -i -theme nmdm`
+# # `dmenu_command = rofi -dmenu -width 30 -i`
+# # `dmenu_command = dmenu -i -l 25 -b -nb #909090 -nf #303030`
+# rofi_highlight = <True or False> # (Default: False) use rofi highlighting instead of '=='
+# compact = <True or False> # (Default: False). Remove extra spacing from display
+# pinentry = <Pinentry command> # (Default: None) e.g. `pinentry-gtk`
+# wifi_chars = <string of 4 unicode characters representing 1-4 bars strength>
+# wifi_chars = ▂▄▆█
+# list_saved = <True or False> # (Default: False) list saved connections
+
+wifi_chars = ▂▄▆█
+dmenu_command = rofi
+rofi_highlight = True
+
+[dmenu_passphrase]
+# # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and
+# # -nf to the same color or uses -P if the dmenu password patch is applied
+# # https://tools.suckless.org/dmenu/patches/password/
+# obscure = True
+# obscure_color = #222222
+
+[editor]
+terminal = alacritty
+# terminal = <name of terminal program>
+# gui_if_available = <True or False> (Default: True)
+
+[nmdm]
+# rescan_delay = <seconds> # (seconds to wait after a wifi rescan before redisplaying the results)
diff --git a/dotfiles/config/rofi/config.rasi b/dotfiles/config/rofi/config.rasi
new file mode 100644
index 0000000..106ccd1
--- /dev/null
+++ b/dotfiles/config/rofi/config.rasi
@@ -0,0 +1,51 @@
+* {
+ // Set theme color
+ lightfg: #281657;
+ lightfg: #b455f7;
+ background: #281657;
+ foreground: #b455f7;
+ blue: #e955f7;
+ red: #f75557;
+
+ // Redifine global var
+ selected-active-foreground: var(background);
+ separatorcolor: var(foreground);
+ urgent-foreground: var(red);
+ alternate-urgent-background: var(lightbg);
+ background-color: transparent;
+ border-color: var(foreground);
+ normal-background: var(background);
+ selected-urgent-background: var(red);
+ alternate-active-background: var(lightbg);
+ spacing: 2;
+ alternate-normal-foreground: var(foreground);
+ urgent-background: var(background);
+ selected-normal-foreground: var(lightbg);
+ active-foreground: var(blue);
+ selected-active-background: var(blue);
+ active-background: var(background);
+ selected-normal-background: var(lightfg);
+ alternate-normal-background: rgba ( 40, 22, 87, 100 % );
+ selected-urgent-foreground: var(background);
+ normal-foreground: var(foreground);
+ alternate-urgent-foreground: var(red);
+ alternate-active-foreground: var(blue);
+}
+
+// Change hardcoded values
+num-filtered-rows {
+ text-color: #8247AC;
+}
+
+num-rows {
+ text-color: #8247AC;
+}
+
+textbox-num-sep {
+ text-color: #8247AC;
+}
+
+entry {
+ placeholder-color: #8247AC;
+}
+
diff --git a/dotfiles/gnupg/gpg-agent.conf b/dotfiles/gnupg/gpg-agent.conf
index 83b82fb..0933828 100644
--- a/dotfiles/gnupg/gpg-agent.conf
+++ b/dotfiles/gnupg/gpg-agent.conf
@@ -1,2 +1,2 @@
-pinentry-program /home/neodarz/.scripts/my-pinentry
+pinentry-program /home/brodokk/.scripts/my-pinentry
allow-loopback-pinentry
diff --git a/dotfiles/scripts/my-pinentry b/dotfiles/scripts/my-pinentry
index b46687e..48008e4 100755
--- a/dotfiles/scripts/my-pinentry
+++ b/dotfiles/scripts/my-pinentry
@@ -6,7 +6,7 @@
case $PINENTRY_USER_DATA in
gtk)
- exec /usr/bin/pinentry-gtk-2 "$@"
+ exec /usr/bin/pinentry-rofi "$@"
;;
none)
exit 1 # do not ask for passphrase
diff --git a/install.sh b/install.sh
index 3c1612c..44744d0 100755
--- a/install.sh
+++ b/install.sh
@@ -162,12 +162,14 @@ sudo pacman -S --noconfirm --needed imagemagick
sudo pacamn -S --noconfirm --needed bind-tools
pikaur -S --noconfirm --needed speedtest-cli
sudo pacman -S --noconfirm --needed rofi-pass
+pikaur -S --noconfirm --needed networkmanager-dmenu-git
pikaur -S --noconfirm --needed pygmentize
pikaur -S --noconfirm --needed xwinwrap-git
### Don't work because some function are deprecied an treated as error
#pikaur -S --noconfirm --needed qt5
-#pikaur -S --noconfirm --needed twmn-git
+
+pikaur -S --noconfirm --needed dunst
sudo pacman -S --noconfirm --needed tmuxp
sudo pacman -S --noconfirm --needed task