Skip to content

Commit

Permalink
🪛 more tweaks to ui
Browse files Browse the repository at this point in the history
  • Loading branch information
diffficult committed Oct 31, 2023
1 parent 1467d58 commit 61d4145
Show file tree
Hide file tree
Showing 3 changed files with 287 additions and 50 deletions.
34 changes: 18 additions & 16 deletions i3/.config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ gaps outer 1
# Smart gaps (gaps used if only more than one container on the workspace)
smart_gaps on

# Smart borders (draw borders around container only if it is not the only container on this workspace)
# Smart borders (draw borders around container only if it is not the only container on this workspace)
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
smart_borders on

Expand Down Expand Up @@ -91,7 +91,7 @@ mode "$mode_gaps_outer" {
floating_modifier $mod


# Lock screen from gnome
# Lock screen from gnome
#bindsym $mod+Shift+x exec --no-startup-id gnome-screensaver-command -l


Expand Down Expand Up @@ -126,9 +126,11 @@ bindsym $mod+Shift+q kill

# Rofi exec

bindsym $mod+d exec --no-startup-id rofi -show drun -lines 4 -eh 2

bindsym $mod+d exec --no-startup-id rofi -show combi -lines 4
#-combi-modi
#bindsym $mod+y exec --no-startup-id yt-r
bindsym $mod+p exec --no-startup-id rofi-pass
bindsym $mod+m exec --no-startup-id rofi-fontawesome2

# Screenshot
#bindsym $mod+Shift+Print exec --no-startup-id "mkdir -p ~/Pictures/Screenshots && scrot -q 100 ~/Pictures/Screenshots/scrot-$(date +%Y-%m-%d_%H-%M-%S).jpg"
Expand All @@ -144,7 +146,7 @@ mode $maimode {
bindsym Escape mode "default"
}

# Transparency mode
# Transparency mode

bindsym $mod+Shift+t mode "transparency"
mode "transparency" {
Expand Down Expand Up @@ -357,9 +359,9 @@ set $sysmenu "[P]oweroff . [H]ibernate . [S]uspend . re[B]oot . [L]ock . logou[T
bindsym $mod+Shift+e mode $sysmenu
mode $sysmenu {
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym s exec --no-startup-id systemctl suspend
bindsym s exec --no-startup-id systemctl suspend
# bindsym p exec --no-startup-id shutdown -P now
bindsym p exec --no-startup-id systemctl poweroff
bindsym p exec --no-startup-id systemctl poweroff
# bindsym b exec --no-startup-id shutdown -r now
bindsym b exec --no-startup-id systemctl reboot
bindsym l exec --no-startup-id "~/.config/i3/myblocks/lock2 -p -f Pragmata-Pro-Regular", mode "default"
Expand Down Expand Up @@ -468,14 +470,14 @@ bar {
#bindsym XF86AudioRaiseVolume exec --no-startup-id /usr/bin/pactl set-sink-volume 0 -- '+5%'

# Mute volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks # mute sound
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks # mute sound

# Mute Mic
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle


# Old non working bindings in thinkpad
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks

# Media player controls
Expand Down Expand Up @@ -547,10 +549,10 @@ for_window [class="(?i)keepassxc"] floating enable, border normal
#for_window [class="(?i)keepass"] floating enable, border normal
for_window [class="Gnome-disks"] floating enable, border none
for_window [class="Blueman-manager"] floating enable
for_window [class="Terminator Preferences"] border
for_window [class="Terminator Preferences"] border


#Graphic glitch fix
#Graphic glitch fix
new_window none

#Execute on startup --------------------------------------------------------------------------------------------------------
Expand All @@ -568,7 +570,7 @@ exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets,ss
#xscreensaver
exec --no-startup-id xscreensaver -no-splash

#mpd
#mpd
exec --no-startup-id mpd .mpd/mpd.conf

#compton compositor
Expand All @@ -591,15 +593,15 @@ exec --no-startup-id "nm-applet --sm-disable &"

#bluetooth tray applet blueman-applet
exec --no-startup-id blueman-applet
#exec --no-startup-id
#exec --no-startup-id

#megasync client
exec --no-startup-id megasync

#Synaptic config, disable edge scrolling
exec --no-startup-id "synclient VertEdgeScroll=0"

#Policy kit you need to run before running pamac-manager and other programs that ask for root privileges to run
#Policy kit you need to run before running pamac-manager and other programs that ask for root privileges to run
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

#reload Xresources on startup
Expand All @@ -616,7 +618,7 @@ exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd
#exec --no-startup-id kill xfce4-notifyd

#Autostart DUNST
#exec --no-startup-id dunst
#exec --no-startup-id dunst


#exec --no-startup-id "~/.config/i3/myblocks/wallpaper.sh &"
Expand All @@ -626,6 +628,6 @@ exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd

#----------------------------------------------------------------------------------------------------------------------------

# Lock screen timeout
# Lock screen timeout
#change -time argument with amount of minutes
#exec xautolock -time 5 -locker screenlock
186 changes: 152 additions & 34 deletions rofi/.config/rofi/config.rasi
Original file line number Diff line number Diff line change
@@ -1,37 +1,155 @@
configuration {
modi: "combi,drun,run,window,emoji,ssh";
icon-theme: "Arc-X-P";
display-combi: "";
display-drun: "";
display-run: "";
display-window: "";
display-emoji: "";
display-ssh: "";
drun-display-format: "{name}";
width: 50;
lines: 4;
hide-scrollbar: true;
font: "PragmataPro 12";
bw: 0;
padding: 0;
show-icons: true;
drun-match-fields: "name,generic,exec,categories";
combi-modi: "drun,run,window";
matching: "normal";
line-margin: 0;
line-padding: 6;
separator-style: "none";
hide-scrollbar: true;
theme: "nord.rasi";
color-normal: "argb:BF1f222d, #a6d1fa, argb:BF383c4a, #7780a1, #d1d4e0";
color-urgent: "argb:BF1f222d, #dc322f, argb:BF383c4a, #dc322f, #d1d4e0";
color-active: "argb:BF1f222d, #268bd2, argb:BF383c4a, #268bd2, #d1d4e0";
color-window: "argb:BF1f222d, #1f222d, #000000";
modes: "combi,emoji,ssh,calc";
font: "PragmataPro 14";
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
show-icons: true;
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
icon-theme: "Arc-X-P";
drun-match-fields: "name,generic,exec,categories";
/* drun-categories: ;*/
/* drun-show-actions: false;*/
drun-display-format: "{name}";
/* drun-url-launcher: "xdg-open";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: "normal";*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* hover-select: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
combi-modes: "drun,run,window";
matching: "normal";
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scroll-method: 0;*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* combi-display-format: "{mode} {text}";*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* window-thumbnail: false;*/
/* drun-use-desktop-cache: false;*/
/* drun-reload-desktop-cache: false;*/
/* normalize-match: false;*/
/* steal-focus: false;*/
/* application-fallback-icon: ;*/
/* refilter-timeout-limit: 8192;*/
/* xserver-i300-workaround: false;*/
/* pid: "/run/user/1000/rofi.pid";*/
display-window: " ";
/* display-windowcd: ;*/
display-run: " ";
display-ssh: " ";
display-drun: " ";
display-combi: " ";
/* display-keys: ;*/
/* display-filebrowser: ;*/
display-calc: " ";
display-emoji: " ";
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-custom-alt: "Control+Shift+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-mode-complete: "Control+l";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "";*/
/* kb-element-next: "Tab";*/
/* kb-element-prev: "ISO_Left_Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
timeout {
action: "kb-cancel";
delay: 0;
}
filebrowser {
directories-first: true;
sorting-method: "name";
}
}



element-icon {
size: 28px;
border: 0px;
}
@theme "nord"
Loading

0 comments on commit 61d4145

Please sign in to comment.