enable picom for ulauncher

This commit is contained in:
eneller
2023-01-01 12:06:49 +01:00
parent 9e6a502eff
commit d4a7ee068f
10 changed files with 195 additions and 11 deletions

View File

@@ -60,16 +60,21 @@ bar {
# DROPDOWN
# Scratchpad binds
# bindsym $mod+p [class="bitwarden"] scratchpad show; move position center
exec bitwarden-desktop
for_window [instance="bitwarden"] move scratchpad
for_window [instance="bitwarden"] sticky enable
bindsym $mod+p [instance="bitwarden"] scratchpad show;
exec $TERMINAL --class="dropdown_tmux"
for_window [class="dropdown_tmux"] move scratchpad
for_window [class="dropdown_tmux"] sticky enable
bindsym $mod+Shift+space [class="dropdown_tmux"] scratchpad show;
# General dropdown window traits. The order can matter.
# sticky allows windows to stay visible even when switching workspaces
for_window [instance="dropdown_*"] sticky enable
# Specific dropdown window traits
for_window [instance="dropdown_tmux"] resize set 625 450
for_window [instance="dropdown_tmux"] border pixel 3
# start scratchpads
# exec --no-startup-id bitwarden-desktop
for_window [class="bitwarden"] move scratchpad
#for_window [instance="dropdown_tmux"] resize set 625 450
#for_window [instance="dropdown_tmux"] border pixel 3
# i3 BINDS
@@ -149,7 +154,6 @@ bindsym $mod+Shift+0 move container to workspace $ws10
# APPLICATION SHORTCUTS
bindsym $mod+Return exec --no-startup-id ulauncher-toggle
bindsym $mod+Shift+Return exec --no-startup-id $LAUNCHER
bindsym $mod+space exec --no-startup-id $TERMINAL
bindsym $mod+w exec --no-startup-id $BROWSER
bindsym $mod+e exec --no-startup-id $EXPLORER
@@ -182,5 +186,6 @@ exec --no-startup-id xfce4-power-manager
#exec --no-startup-id volumeicon
exec --no-startup-id start-pulseaudio-x11
exec --no-startup-id pa-applet
exec --no-startup-id picom
bindsym $mod+Ctrl+m exec pavucontrol

View File

@@ -0,0 +1 @@
/usr/lib/systemd/user/ulauncher.service

View File

@@ -0,0 +1,25 @@
[Unit]
Description=Syncthing - Open Source Continuous File Synchronization
Documentation=man:syncthing(1)
StartLimitIntervalSec=60
StartLimitBurst=4
[Service]
ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --logflags=0
Restart=on-failure
RestartSec=1
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
# Hardening
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true
# Elevated permissions to sync ownership (disabled by default),
# see https://docs.syncthing.net/advanced/folder-sync-ownership
#AmbientCapabilities=CAP_CHOWN CAP_FOWNER
[Install]
WantedBy=default.target

View File

@@ -40,5 +40,26 @@
"updated_at": "2022-12-31T13:16:06.744191",
"last_commit": "dd631a2e5a1d8bf2ab21095b43afe068443f02b9",
"last_commit_time": "2021-06-05T16:42:59"
},
"com.github.beajeanm.ulauncher-windows-switcher": {
"id": "com.github.beajeanm.ulauncher-windows-switcher",
"url": "https://github.com/beajeanm/ulauncher-windows-switcher",
"updated_at": "2022-12-31T15:56:36.180850",
"last_commit": "e746afcd1ae971294f983dadb6ad2c90a730ec39",
"last_commit_time": "2022-08-04T22:59:46"
},
"com.github.fisadev.ulauncher-better-file-browser": {
"id": "com.github.fisadev.ulauncher-better-file-browser",
"url": "https://github.com/fisadev/ulauncher-better-file-browser",
"updated_at": "2022-12-31T16:02:28.785265",
"last_commit": "8ec8a0dda09e172de62051cd1f251816ce4af368",
"last_commit_time": "2019-09-06T19:20:09"
},
"com.github.ikorjefocur.ulauncher-commandrunner": {
"id": "com.github.ikorjefocur.ulauncher-commandrunner",
"url": "https://github.com/IkorJefocur/ulauncher-commandrunner",
"updated_at": "2022-12-31T17:01:45.298473",
"last_commit": "c306301468cbaba23625bf0ef0639b7ad6602783",
"last_commit_time": "2022-03-01T19:34:35"
}
}

View File

@@ -8,5 +8,5 @@
"show-indicator-icon": false,
"show-recent-apps": "0",
"terminal-command": "",
"theme-name": "light"
"theme-name": "Essential-Light-Theme"
}

View File

@@ -0,0 +1,11 @@
@import url("/usr/share/ulauncher/themes/light/theme-gtk-3.20.css");
@import url("theme.css");
.input {
caret-color: @caret_color;
}
.selected.item-box {
/* workaround for a bug in GTK+ < 3.20 */
border: none;
}

View File

@@ -0,0 +1,12 @@
{
"manifest_version": "1",
"name": "Essential-Light-Theme",
"display_name": "Essential Light Theme",
"extend_theme": "light",
"css_file": "theme.css",
"css_file_gtk_3.20+": "theme-gtk-3.20.css",
"matched_text_hl_colors": {
"when_selected": "#ffffff",
"when_not_selected": "#000000"
}
}

View File

@@ -0,0 +1,9 @@
@import url("theme.css");
.input {
caret-color: @caret_color;
}
.selected.item-box {
/* workaround for a bug in GTK+ < 3.20 */
border: none;
}

View File

@@ -0,0 +1,100 @@
/* App Window */
@define-color bg_color #fff;
@define-color window_bg @bg_color;
@define-color window_border_color rgba(0,0,0, 0);
@define-color prefs_backgroud rgba(0,0,0, 0);
/* Input */
@define-color selected_bg_color #106eea;
@define-color selected_fg_color #fff;
@define-color input_color #000;
@define-color caret_color darker(@input_color);
/* Result items */
@define-color item_name rgba(0,0,0, 0.80);
@define-color item_text rgba(0,0,0, 0.80);
@define-color item_box_selected #106eea;
@define-color item_text_selected #fff;
@define-color item_name_selected rgba(255,255,255, 0.70);
@define-color item_shortcut_color rgba(0,0,0, 0.80);
@define-color item_shortcut_shadow rgba(0,0,0, 0.00);
@define-color item_shortcut_color_sel #fff;
@define-color item_shortcut_shadow_sel darker(@item_box_selected);
.app {
background-color: @window_bg;
border: 1px solid @window_border_color;;
border-radius: 10px;
box-shadow: none;
margin: -30px;
}
.input {
color: @input_color;
padding: 0;
}
.item-box {
border-radius: 5px;
}
/* Selected text in input */
.input *:selected,
.input *:focus,
*:selected:focus {
background-color: alpha (@selected_bg_color, 0.9);
color: @selected_fg_color;
}
.item-text {
color: @item_text;
}
.item-name {
color: @item_name;
}
.selected.item-box {
background-color: @item_box_selected;
}
.selected.item-box .item-text {
color: @item_text_selected;
}
.selected.item-box .item-name {
color: @item_name_selected;
}
.item-shortcut {
color: @item_shortcut_color;
text-shadow: none;
}
.selected.item-box .item-shortcut {
color: @item_shortcut_color_sel;
text-shadow: none;
}
.prefs-btn {
opacity: 0.6;
}
.prefs-btn * {
box-shadow: none;
}
.prefs-btn:hover {
background-color: @prefs_backgroud;
}
.no-window-shadow {
margin: -20px;
}
.result-box {
margin: 0px 6px -4px 6px;
}
.item-frame {
border-top: 1px solid;
border-image-slice: 1;
border-image-source: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 6%, rgba(255, 255, 255, 0) 6%, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0.5) 51%, rgba(0, 0, 0, 0.5) 94%, rgba(255, 255, 255, 0) 94%, rgba(255, 255, 255, 0) 100%);
}
.item-frame:first-child {
border-width: 0px;
}